Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^3: Comparing string to array elements

by toolic (Bishop)
on Jan 11, 2017 at 19:04 UTC ( [id://1179416]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Comparing string to array elements
in thread Comparing string to array elements

Tip #3 from the Basic debugging checklist: chomp

open (IN, 'C:\terms.txt'); my @terms = <IN>; close IN; chomp @terms;

Replies are listed 'Best First'.
Re^4: Comparing string to array elements
by R56 (Sexton) on Jan 13, 2017 at 14:58 UTC

    Added it, thanks!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (3)
As of 2024-03-28 17:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found