Do you know where your variables are? | |
PerlMonks |
Re^3: Get element count of CONSTANT list (aref))by haukex (Archbishop) |
on Mar 13, 2018 at 11:59 UTC ( [id://1210811]=note: print w/replies, xml ) | Need Help?? |
Besides, it results in the same type of behaviour: In list context, yes, but like @{...} you can force it to scalar context: 0+STEPPER_SEQUENCE->@* is 8. And BTW, there is also STEPPER_SEQUENCE->$#* which will returns 7. tybalt89's code forced the scalar context with the dot . operator.
In Section
Seekers of Perl Wisdom
|
|