Something like that (untested code):
#!/usr/bin/perl use strict; use warnings; for ( glob data*R.fa ) { my $Rfile = $_; s/R(?=\.fa)$/P/; my $Pfile = $_; # Your code here }
In reply to Re: Finding Files and Processing them iteratively
by deibyz
in thread Finding Files and Processing them iteratively
by monkfan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |