Beefy Boxes and Bandwidth Generously Provided by pair Networks
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??


in reply to Re^2: Get element count of CONSTANT list (aref))
in thread [SOLVED] Get element count of CONSTANT list (aref))

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1210811]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2024-04-19 22:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found