in reply to
Scalar result from array
See
push
- it returns the number of elements in the target array after the push. Use it without the = assignment.
Comment on
Re: Scalar result from array
Replies are listed 'Best First'.
Re^2: Scalar result from array
by
packetstormer
(Monk)
on Dec 03, 2010 at 16:12 UTC
See - silly newbie error. Just using push then print the list now works as expected. Thanks!
[reply]
In Section
Seekers of Perl Wisdom