Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: There's scalar(), but no list(). Perl could need one for rare but reasonable use

by ikegami (Patriarch)
on Jun 15, 2014 at 21:37 UTC ( [id://1089969]=note: print w/replies, xml ) Need Help??


in reply to Re: There's scalar(), but no list(). Perl could need one for rare but reasonable use
in thread There's scalar(), but no list(). Perl could need one for rare but reasonable use

The fact that a list of scalars isn't a scalar isn't an inconsistency, and it's not a factor of its age.

Can you return multiple values from a Perl 6 sub? Can you assign those multiple values to one variable? How does one specify which value to get from that variable?

  • Comment on Re^2: There's scalar(), but no list(). Perl could need one for rare but reasonable use

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (2)
As of 2024-04-26 03:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found