I\'m trying to figure out the proper PBP approved way to process a multi line string one line at a time. Many Perl coders suggest treating the multi line string as a filehandle
Open a filehandle using a pipe from "dir" command.
E.g.
open my $FOO, "dir|" or die "Can not run 'dir': $!";