If you are successfully opened the files, then your code,should be working.
open (F, $file) or die "cannot open file"; while (<F>){ print $_; } close F;
In reply to Re^3: File handling basics
by vinoth.ree
in thread File handling basics
by ElectroRed
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |