You could do something like
where sub process does the real work.if (@ARGV) { process($_) for @ARGV; } else { while (<>) { process($_); } }
In reply to Re: Stream and Atom flexibility
by hipowls
in thread Stream and Atom flexibility
by seedstitch
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |