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

Re^2: Need to change directory string.

by Athanasius (Chancellor)
on Jan 02, 2013 at 16:36 UTC ( #1011313=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
     2:29 >perl -wE "$d = 'test/home/players/demo//thumbs/super.jpg'; $d =
    +~ s[/{2,}][/]g; say $d;"
    test/home/players/demo/thumbs/super.jpg
    
     2:34 >
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1011313]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2017-11-24 06:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (345 votes). Check out past polls.

    Notices?