Gavin has asked for the wisdom of the Perl Monks concerning the following question:
my($line, @line); while(<IN>) { $line=$_; chomp($line); @line = split(/\./,$line); foreach(@line){ print OUT "$_\n"; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl split
by Tanktalus (Canon) on Mar 12, 2006 at 15:21 UTC | |
by Gavin (Archbishop) on Mar 12, 2006 at 15:29 UTC | |
|
Re: Perl split
by McDarren (Abbot) on Mar 12, 2006 at 14:37 UTC | |
|
Re: Perl split
by thor (Priest) on Mar 12, 2006 at 14:34 UTC |