in reply to Parsing multiline string line by line
>perl -wMstrict -e "my $filelike = qq{Line 1\nLine 2\nLine etc.\n}; open my $fh, '<', \$filelike or die $!; while (<$fh>) { print } close $fh or die $!; " Line 1 Line 2 Line etc.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Parsing multiline string line by line
by wol (Hermit) on Feb 19, 2009 at 13:59 UTC | |
by AnomalousMonk (Archbishop) on Feb 19, 2009 at 21:01 UTC | |
|
Re^2: Parsing multiline string line by line
by flamey (Scribe) on Feb 19, 2009 at 14:25 UTC |