So you need to replace
withwhile (<FH>) { push (@lines, $_); }
while (<FH>) { chomp; # removes the newline from $_ push (@lines, $_); }
In reply to Re: No Such File or Directory Error
by morgon
in thread No Such File or Directory Error
by zakishah
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |