huchister has asked for the wisdom of the Perl Monks concerning the following question:
I am trying to remove 'demo//thumbs' part to 'demo/thumbs' Is there easier way to put this? I am trying to use s/ method.my $dir_str = "test/home/players/demo//thumbs/super.jpg";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Need to change directory string.
by toolic (Bishop) on Jan 02, 2013 at 16:20 UTC | |
by Athanasius (Archbishop) on Jan 02, 2013 at 16:36 UTC | |
|
Re: Need to change directory string.
by 2teez (Vicar) on Jan 02, 2013 at 20:54 UTC |