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

Re^4: Surprised by split

by sk (Curate)
on Aug 11, 2005 at 19:14 UTC ( [id://483090]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Surprised by split
in thread Surprised by split

You are right! That should do it!!!

perl -e ' $str = "hi|there"; $d = quotemeta("|"); @a = split /$d/, $st +r; print +($_,$/) for (@a);' __END__ hi there

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-04-20 14:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found