Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: split function

by Anonymous Monk
on Jan 25, 2012 at 03:23 UTC ( #949815=note: print w/replies, xml ) Need Help??


in reply to split function

$ perl -le " my($1,$2) ; " Can't use global $1 in "my" at -e line 1, near "($1" Execution of -e aborted due to compilation errors.

$1,$2... are reserved for match operator (regex)

Post real code, that compiles under strict/warnings

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://949815]
help
Chatterbox?
[zentara]: TGIF, I'm blowing my mind watching Casimir Effect & Black Holes - Sixty Symbols I love 60 Symbols. :-)
zentara ..oO the vacuum is teeming with photons and micro-blackholes
zentara .. and probably NSA bugs ;-)

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2017-06-23 16:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (552 votes). Check out past polls.