
Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[tlug] perl hashes
- Date: Thu, 18 Sep 2003 15:35:49 +0900
- From: Brett Robson <b-robson@example.com>
- Subject: [tlug] perl hashes
Quick perl question.
Passing a hash to a subroutine is just a matter of treating it as a
scalar isn't it?
Brett
eg
%foo
&bar ($foo)
sub bar {
my ($foo)= @example.com;
# foo is now available as a hash
}
--
Brett Robson
Systems Administrator
GOL
http://www.gol.com
Phone: 03-3239-6856 International: +81-3-3239-6856
Home |
Main Index |
Thread Index