Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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


Comment on Re: split function
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2014-10-26 02:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (149 votes), past polls