Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: Can I rewrite this code?

by Anonymous Monk
on Nov 23, 2018 at 17:40 UTC ( [id://1226238]=note: print w/replies, xml ) Need Help??


in reply to Re: Can I rewrite this code?
in thread Can I rewrite this code?

and what does + in front of shift do?

Replies are listed 'Best First'.
Re^3: Can I rewrite this code?
by Corion (Patriarch) on Nov 23, 2018 at 17:46 UTC

    The + in front of shift tells Perl that you want the function shift and not a string "shift" as the hash key.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (2)
As of 2024-04-26 01:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found