Hi wrkrbeee,
You need to put your print statement inside the loop where you are reading the lines.
You should also open your output file outside both the loops.
Is this your actual code? I would have thought trying to use $line outside the scope where you declare it (the inner loop) would cause an error under strict.
You also shouldn't declare my $line outside the loop it's used in, and definitely not twice.
In reply to Re: Read HTM, but no output
by 1nickt
in thread Read HTM, but no output
by wrkrbeee
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |