You could always use the special filename "-" to indicate it should read from STDIN. See "The Minus File" in perldoc perlopentut.
In reply to Re: How to accept ARG from PIPE or STDIN?
by Fletch
in thread How to accept ARG from PIPE or STDIN?
by monkfan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |