Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
open (IF, "<$thefile"); $rawstring = (<IF>); close (IF); while (length($rawstring) > 0) { ($item, $rawstring) =~ split/\;/,$rawstring; print "$item\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Split long string MANY times?
by japhy (Canon) on Feb 13, 2001 at 20:46 UTC | |
|
Re: Split long string MANY times?
by arturo (Vicar) on Feb 13, 2001 at 20:35 UTC | |
|
Re: Split long string MANY times?
by lemming (Priest) on Feb 13, 2001 at 20:37 UTC |