In print OUTPUT while (<$input>); a file handle is given but no list. print doesn't even admit in the synopsis that such a case is possible and it says:
If LIST is also omitted, prints $_ to the currently selected output channel.
My emphasis.
In reply to Re^3: Printing with Indirect FileHandles
by ig
in thread Printing with Indirect FileHandles
by bichonfrise74
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |