in reply to Howto convert lines in stringified text into element of an array
use warnings; use strict; my $file = <<'FILE'; foo bar qux foo foo foo FILE my @lines = split $/, $file; print "$_\n" for @lines;
Prints:
foo bar qux foo foo foo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Howto convert lines in stringified text into element of an array
by ikegami (Patriarch) on Sep 04, 2007 at 03:55 UTC |