Tip #3 from the Basic debugging checklist: chomp
open (IN, 'C:\terms.txt'); my @terms = <IN>; close IN; chomp @terms;
In reply to Re^3: Comparing string to array elements
by toolic
in thread Comparing string to array elements
by R56
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |