Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Split problem using limit

by eric256 (Parson)
on Aug 20, 2004 at 15:25 UTC ( #384624=note: print w/replies, xml ) Need Help??


in reply to Split problem using limit

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://384624]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2023-12-03 17:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (20 votes). Check out past polls.

    Notices?