Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: File handles in regular expressions

by aitap (Deacon)
on Oct 18, 2012 at 18:08 UTC ( #999790=note: print w/replies, xml ) Need Help??


in reply to File handles in regular expressions

Did you forget to chomp $comp2? Lines read from file handles can contain newline characters (usually \n).
Sorry if my advice was wrong.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://999790]
help
Chatterbox?
[1nickt]: Lightning poll: What would you do if stuck on the runway in a plane for seven hours because the airport lost power?
[marto]: If I was travelling with my twins, likely lose my mind :P
[james28909]: is there a bar or something in this airport?

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (9)
As of 2017-12-18 12:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (485 votes). Check out past polls.

    Notices?