Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: Creating 'new' subroutine.

by nitin.sh1982 (Initiate)
on Oct 17, 2013 at 04:21 UTC ( #1058594=note: print w/ replies, xml ) Need Help??


in reply to Re: Creating 'new' subroutine.
in thread Creating 'new' subroutine.

Thanks. It makes sense. But, what does the 'scalar' do in that case then?

Replies are listed 'Best First'.
Re^3: Creating 'new' subroutine.
by jwkrahn (Monsignor) on Oct 17, 2013 at 04:56 UTC

    In that case it is superfluous as @_ is already in scalar context.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (11)
As of 2016-06-28 17:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (359 votes). Check out past polls.