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

Re^2: What's this line means in HTTP::headers? ("the context")

by anaconda_wly (Scribe)
on Sep 05, 2013 at 03:00 UTC ( [id://1052477]=note: print w/replies, xml ) Need Help??


in reply to Re: What's this line means in HTTP::headers? ("the context")
in thread What's this line means in HTTP::headers?

Also I know the context meaning in some cases saying

my $var = @array

But here in specific case:

return @old if wantarray;
Does that mean if wantarray is always true? since @old is always an array?

Replies are listed 'Best First'.
Re^3: What's this line means in HTTP::headers? ("the context")
by Anonymous Monk on Sep 05, 2013 at 06:35 UTC
    No. wantarray has nothing to do with @old, it has to do with how sub header is called, in what context.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2024-03-19 11:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found