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

Re^2: Confused Contexts and wantarray

by redlemon (Hermit)
on Jan 19, 2005 at 00:58 UTC ( #423234=note: print w/replies, xml ) Need Help??


in reply to Re: Confused Contexts and wantarray
in thread Confused Contexts and wantarray

how is this scary?

@{...} puts flab() in array context so it returns the array @r.

scalar(...) then evaluates that array in scalar context, returning its size.

I don't see anything magical in there. (apart from me probably mixing array and lists again)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://423234]
help
Chatterbox?
[thezip]: So, we have a small deployment coming up soon for a project. What is the general name for the project management documentation that details the tasks and schedules/ sequences for the execution of the deployment?
[thezip]: Deployment checklist?

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (8)
As of 2017-02-23 17:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (350 votes). Check out past polls.