Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: A problem with using the split command

by Belgarion (Chaplain)
on Apr 30, 2004 at 20:13 UTC ( [id://349506]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    foreach my $pwd (split(/\\/,'\foo\foo1\foo2')) { ...
    
  2. or download this
    foreach my $pwd (split(/\\/,'\foo\foo1\foo2')) {
        print $pwd, "\n";
    }
    
  3. or download this
    __OUTPUT__
    
    foo
    foo1
    foo2
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2024-04-24 11:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found