Actually
print;
suffices. STDOUT is assumed if no file handle is provided. However I used print STDOUT; in the sample code to maintain consistency with the OP's sample code.
The important thing for Grundle is to be aware of $_ and where it is used as the default.
In reply to Re^4: Opening a file, editing, copying to another
by GrandFather
in thread Opening a file, editing, copying to another
by theintern
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |