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 sunadmn (Curate)
on Apr 30, 2004 at 20:14 UTC ( #349507=note: print w/replies, xml ) Need Help??


in reply to A problem with using the split command

I could be way off here but I think you need to escape the '\' like this:
foreach my $pwd (split('/\/\','/\foo/\foo1/\foo2'))


SUNADMN
USE PERL

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://349507]
help
Chatterbox?
[marto]: https://www. youtube.com/watch? v=WZnsHvEYEZI
[Discipulus]: marto apotropaic gestures in Eataly..
[Discipulus]: LanX nick does not downvote peoples, just content he dislike (I think)
[Discipulus]: anyway I have my Tk toys running at 50%!! someone want to see it?
[LanX]: disc+ true every node authored by me or mentioning Perl 6 ;)
[Discipulus]: naahh..
[LanX]: oh a tunnel ...
LanX ducks!

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2018-04-26 10:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?