LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] OT Perl question

[ILUG] OT Perl question

Hunt, Bryan B.Hunt at emuse-tech.com
Wed Mar 20 14:29:44 GMT 2002


I have the following lines of code, I keep getting whiney messages from 
diagnostics. Does anyone know a more polite way of itterating through a 
hash reference ? 

sub mail_all_users(\%) {
my $users = $_[0]  or die "missing argument \$users in func mail_all_users";


foreach my $name (keys %{users}) {
    print "ALERT " . $name . "*".  $users->{$name} . "*\n" ;
}
}
PS I have already googled/read the book

--B

___________________________________________

emuse technologies
Hanover Quay
Dublin 2
Ireland

Tel:  353-1-671-7317
Fax:  353-1-671-7319

website: www.emusetechnologies.com
email: info at emuse-tech.com

___________________________________________

This message has been scanned for viruses using GroupShield 4.5 for Exchange
Server 5.5

CONFIDENTIALITY NOTICE - The information contained in this email message is
intended only for confidential use of the named recipient. If the reader is
not the intended recipient or the person responsible for delivering it to
the recipient, you are hereby notified that you have received this
communication in error and that any review, dissemination or copying of this
communication is strictly prohibited. If you have received this in error,
please notify the sender immediately.




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell