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
In reply to Re: Howto convert lines in stringified text into element of an array
by GrandFather
in thread Howto convert lines in stringified text into element of an array
by monkfan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |