good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: why the value of count will be change?by toolic (Bishop) |
on May 09, 2018 at 00:25 UTC ( [id://1214246]=note: print w/replies, xml ) | Need Help?? |
My question is why the value of count is just the number of the data in @?The reason is found in List value constructors: Note that the value of an actual array in scalar context is the length of the array; the following assigns the value 3 to $foo:
In Section
Seekers of Perl Wisdom
|
|