That line does nothing. If you want to write to your file you would do
Actually, no. Consider:
$_ = "HW"; s/HW/Hello World/; print STDOUT;
Prints:
Hello World
You perhaps need to learn about $_? See $ARG/$_ in perlvar.
In reply to Re^2: Opening a file, editing, copying to another
by GrandFather
in thread Opening a file, editing, copying to another
by theintern
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |