in reply to STDIN usage in interactive debug
In the debugger you can either use debugger commands or valid Perl, but <"FILE" is neither.
To get the contents of a file into an array, valid Perl isn't that difficult:
DB<1> open ($in,'<','FILE') DB<2> @ln = <$in> DB<3> close $in
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: STDIN usage in interactive debug
by Fletch (Bishop) on Oct 24, 2021 at 09:06 UTC |