Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^3: Alternative to Substr?

by TheEnigma (Pilgrim)
on Sep 29, 2004 at 13:14 UTC ( [id://394958]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Alternative to Substr?
in thread Alternative to Substr?

Both very good points. But like I said, I had to make some assumptions, not knowing what his data looks like or what he wants to extract from it.

If $match did occur more than once, I don't know which one he wants to use; maybe he wants to use all of them. That would require a change to my code. So I assumed the simplest scenario. Same with your second point, I was assuming simple lines of text with a newline only at the end.

TheEnigma

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (2)
As of 2024-04-26 01:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found