The stupid question is the question not asked | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
"Since you claim to be a "perl beginner" - kcott's (++) code may be a little esoteric." To NetWallah: Thanks for the ++; esotericism was not the intention. To To_Bz: If there was something in my original code you didn't understand, please feel free to ask; however, first see the clarification below. "Here is somewhat simpler and more traditional code (with no module dependencies):" The module (Inline::Files) was not intended for To_Bz's code; it was purely for my test. I was aiming to use (what appeared to be) the smaller file (values.txt) to create the hash; then selectively printing from (what appeared to be) the larger file (table.txt). As a clarification, here's the entire script I envisaged for To_Bz (correcting the open syntax errors and applying my lexical filehandle recommendation):
[Note: autodie used in lieu of hand-crafting die messages for both open statements.] -- Ken In reply to Re^2: How to compare hash values to array values in Perl
by kcott
|
|