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 (Abbot)
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (16)
As of 2015-03-27 20:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:









    Results (619 votes), past polls