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 ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://949815]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2024-04-19 21:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found