Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^3: Ghostly subroutine variables haunting me in subsequent calls

by blazar (Canon)
on Oct 26, 2005 at 12:07 UTC ( #503029=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Ghostly subroutine variables haunting me in subsequent calls
in thread Ghostly subroutine variables haunting me in subsequent calls

You still can use alternate delimiters "in the manner of a normal regex". But you have to be explicit about the operator:

$ perl -le 'print for split m@/@, "foo/bar/baz"' foo bar baz


Comment on Re^3: Ghostly subroutine variables haunting me in subsequent calls
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (9)
As of 2015-03-28 13:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:









    Results (625 votes), past polls