fionbarr has asked for the wisdom of the Perl Monks concerning the following question:
How do I know the size of a reference to an array....
if I say scalar @a....I get '1'...I want to get '3'. ThanksDB<22> x @a 0 ARRAY(0x8d1814) 0 123 1 456 2 789
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: size of an array ref
by roboticus (Chancellor) on Feb 24, 2012 at 13:03 UTC | |
by fionbarr (Friar) on Feb 24, 2012 at 13:11 UTC | |
Re: size of an array ref
by moritz (Cardinal) on Feb 24, 2012 at 12:52 UTC | |
by fionbarr (Friar) on Feb 24, 2012 at 13:00 UTC | |
by JavaFan (Canon) on Feb 24, 2012 at 13:24 UTC | |
by brx (Pilgrim) on Feb 24, 2012 at 21:12 UTC | |
Re: size of an array ref
by swampyankee (Parson) on Feb 24, 2012 at 12:58 UTC | |
by jethro (Monsignor) on Feb 24, 2012 at 16:49 UTC | |
by swampyankee (Parson) on Feb 25, 2012 at 01:01 UTC | |
by Anonymous Monk on Feb 25, 2012 at 01:10 UTC | |
by Marshall (Canon) on Feb 26, 2012 at 01:38 UTC | |
Re: size of an array ref
by Anonymous Monk on Feb 24, 2012 at 19:02 UTC | |
Re: size of an array ref
by TomDLux (Vicar) on Feb 27, 2012 at 19:49 UTC |
Back to
Seekers of Perl Wisdom