in reply to Er...
in thread Finding the size of an array in a hash?
To your original question, push @{$FULLLINES{$account}}, “$lines”; is populating an anonymous arrayref for key $account in the %FULLLINES hash. %FULLLINES would look something like this:
( 'account1' => [ 'lines','lines', ], 'account2' => [ 'lines', ], )
When in doubt, you can
use Data::Dumper; print Dumper(\%FULLLINES);
--
You said you wanted to be around when I made a mistake; well, this could be it, sweetheart.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Er...
by Nkuvu (Priest) on Feb 11, 2003 at 17:04 UTC |