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

change files names bug

by Yuma248 (Initiate)
on Oct 30, 2013 at 09:40 UTC ( [id://1060305]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    LA01 ACCTGG
    LA02 ATTGGC
    LA03 ATCCCG
    
  2. or download this
     
    #!/usr/bin/perl
    opendir(DIR, "/samplesA") or die "Can not open folder, $!\n";
    ...
            $new =~ s/sample_$barcode/$id/;
            rename ($file, $new) or die "Can not change $file to $new, $!\
    +n";
    }}}}
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1060305]
Approved by marto
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2024-04-23 21:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found