$hashnew{$com} has value - the word "context". How do I make the script to treat $hashnew{$com} as it's value,i.e. in this case to treat it as context. Thanks a lot in advance.foreach (readline FILE1) { if (/$hashnew{$com}/){ print WFILE "$_\n"; } }
Edited by Chady -- code tags, fixed spaces in the code part.
In reply to File parsing by sashac88
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |