Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (8)
As of 2016-07-27 17:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (245 votes). Check out past polls.