Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: change files names bug

by oiskuu (Pilgrim)
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; }


Comment on Re: change files names bug
Download Code
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 studying the Monastery: (8)
As of 2014-07-31 22:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (254 votes), past polls