That is beautiful TomDLux. Thus, a demonstration for the OP.
my @foo = `cat very_large_file | head -4`;
In reply to Re^2: Slicing the output of a command
by marioroy
in thread Slicing the output of a command
by fbicknel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |