Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Help with regex

by throop (Chaplain)
on Sep 28, 2007 at 19:50 UTC ( [id://641602]=note: print w/replies, xml ) Need Help??


in reply to Help with regex

I suspect you are forgetting to chomp your input.

Have you used the debugger on this script, and really looked at what each each $line looks like?

throop

Replies are listed 'Best First'.
Re^2: Help with regex
by FunkyMonk (Chancellor) on Sep 28, 2007 at 20:16 UTC
    Given that the OP is searching for strings that end with a newline, I doubt chomping is going to help!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2024-04-24 08:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found