Why do you think that you have a few errors?
What is the following line supposed to do?
if ($file=qr/HybridViralBactContigsList.txt/){
(hint: You might want to read perlop for the difference between = and =~, and perlre for the meaning of . and anchors, and File::Basename for the general approach)
In reply to Re: Help with pattern matching and calling wc -l
by Corion
in thread Help with pattern matching and calling wc -l
by AWallBuilder
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |