No such thing as a small change | |
PerlMonks |
Re: How to compare hash values to array values in Perlby kcott (Archbishop) |
on May 14, 2014 at 05:18 UTC ( [id://1085977]=note: print w/replies, xml ) | Need Help?? |
G'day To_Bz, Welcome to the monastery. You can achieve that much more simply like this:
I would, however, recommend you use lexical filehandles. See open for examples. Here's my test (in the spoiler):
Output:
See also: Inline::Files -- Ken
In Section
Seekers of Perl Wisdom
|
|