Or you could even do it all in one line (without needing the close). . .
DB<1> @lines = do { open( my $fh, '<', 'FILE' ); <$fh> }
The cake is a lie.
The cake is a lie.
The cake is a lie.
In reply to Re^2: STDIN usage in interactive debug
by Fletch
in thread STDIN usage in interactive debug
by abdan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |