in reply to Re: Iterating through Two Arrays. Is there a better use of memory?
in thread Iterating through Two Arrays. Is there a better use of memory?
Hi, thanks for replying. I've decided to work with strings instead of arrays. Thanks for the advice. However, I can't get your code to work properly.
say for $line1 =~ /[$line2]/g;it complains...
Bareword "say" not allowed while "strict subs" in use at evan.pl line +19.
when I delete say, it complains...
syntax error at evan.pl line 19, near "$line1 =~"
What's the trick to this sting comparison?
thanks!
|
|---|