Update (multiple): apologies, didn't see the $var part. I assume, you are going to use it as a list:use strict; use warnings; print "$_\n" while (<>);
my @var; push(@var, $_) while(<>);
In reply to Re: Need help with Piping
by eosbuddy
in thread Need help with Piping
by moroshko
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |