Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Please explain 'list' assignment.

by NetWallah (Canon)
on Nov 04, 2006 at 07:06 UTC ( #582219=note: print w/replies, xml ) Need Help??


in reply to Please explain 'list' assignment.

TIMTOWTDI - I prefer the option below, because it allows you to expand the list, without counting the number of variables, is easy to read, and is economical in the number of keystrokes required :
$_='Hello' for my ($x,$y,$z);

     "A closed mouth gathers no feet." --Unknown

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2021-04-23 04:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?