perlquestion
huchister
I would like to change directory string.
Here is the example URL.
<code>
my $dir_str = "test/home/players/demo//thumbs/super.jpg";
</code>
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.