Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^3: Comparing string to array elements

by toolic (Bishop)
on Jan 11, 2017 at 19:04 UTC ( #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? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2022-01-22 17:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (63 votes). Check out past polls.

    Notices?