in reply to returning a hash from a module

If you have a hash %some_hash and want to return it from anywhere you need to have a hash to put it in. Example:

| hand waving here. my %reciever = get_stuff(); | more handwaving sub get_stuff { my %hash =(); # fill hash return %hash; }
Now if you want to use a a hash reference
my $reciever=get_stuff(); sub get_stuff { my %hash = (); # yada yada return \%hash;
Clear as mud?


Peter L. Berghold -- Unix Professional
Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg