Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Examples for "LIST", "list context", "list value", "list assigment", "list operator"

by LanX (Saint)
on Jul 19, 2020 at 13:55 UTC ( [id://11119521]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # --- list assignments
    @a   = (1,2,3); # list comma
    ...
    $a = (1,2,3);   # scalar comma
    $a = (1..3);    # flip flop operator ... Oo oops!
    $a = @a;        # scalar @a == length
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (4)
As of 2024-04-18 00:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found