Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1058594]
[LanX]: :-/
[Corion]: Heh ;)
[Corion]: I might do a release of Filter::Simple, which has/"causes" bugs in line numbering, which also hasn't bothered too many people ;)
[choroba]: LanX do you mean s/add_style/ set_style/?
[LanX]: choroba: yes
[LanX]: line numbering is easy to fix with # line dircetives
[LanX]: I just wrote my first source filter, without changing the source

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (11)
As of 2017-04-24 15:08 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (442 votes). Check out past polls.