Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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 exploiting the Monastery: (5)
As of 2018-02-20 18:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (273 votes). Check out past polls.

    Notices?