Note that a simple way to force scalar context on anything is scalar, as in print scalar <STDIN>;.
In reply to Re^3: Printing from stdin to stdout
by haukex
in thread Printing from stdin to stdout
by harangzsolt33
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |