Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: change files names bug

by oiskuu (Hermit)
on Oct 30, 2013 at 10:46 UTC ( #1060319=note: print w/replies, xml ) Need Help??


in reply to change files names bug

Test the s///.
my $new = $file; if ($new =~ s/sample_$barcode/$id/) { rename ($file, $new) or die; }

Replies are listed 'Best First'.
Re^2: change files names bug
by Yuma248 (Initiate) on Nov 01, 2013 at 01:50 UTC

    I tried it before, but it did not work. Thank you

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1060319]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2017-09-23 00:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (270 votes). Check out past polls.

    Notices?