Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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 about the Monastery: (10)
As of 2017-01-23 15:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (194 votes). Check out past polls.