Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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 avoiding work at the Monastery: (10)
As of 2017-02-22 20:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (335 votes). Check out past polls.