![]() |
|
No such thing as a small change | |
PerlMonks |
Re: Split problem using limitby eric256 (Parson) |
on Aug 20, 2004 at 15:25 UTC ( #384624=note: print w/replies, xml ) | Need Help?? |
I don't see why you are splitting at all. $_ is holding the value of that string so wouldn't my $spectext = $_; give you your desired results? BTW all your regex should be inside / / and your data should be __DATA__ not ----DATA----. The way it is your code throws a whole bunch of errors. ___________ Eric Hodges
In Section
Seekers of Perl Wisdom
|
|