/me grovels and presents my humble question
As i'm reading in an HTML file, I would like say something like this:
if( $_ =~ /<span class="$hash{$ANY-KEYS-IN-THE-HASH}"/i .. /span>/i ) +{ print $_; }
but, i can't seem to make the interperter happy with any of they ways i've been saying $ANY-KEYS-IN-THE-HASH. i think (know) a loop or nested if statments might be a bit klunky.
any suggestions or ideas?
thanks!
In reply to Reg-Ex, range, and Exists... by unwashed_masses
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |