Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

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

by xiaoyafeng (Chaplain)
on Jun 15, 2014 at 08:42 UTC ( #1089925=note: print w/ replies, xml ) Need Help??


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

considering its age, no wonder perl5 has many grammar in-consistence and pitfall. If you want a cleaner, more consistent language, perl6 is preferred.





I am trying to improve my English skills, if you see a mistake please feel free to reply or /msg me a correction


Comment on Re: There's scalar(), but no list(). Perl could need one for rare but reasonable use
Replies are listed 'Best First'.
Re^2: There's scalar(), but no list(). Perl could need one for rare but reasonable use
by ikegami (Pope) on Jun 15, 2014 at 21:37 UTC

    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?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (16)
As of 2015-07-07 20:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls