update: might as well get rid of the @tmp while we're at it...@hosts = map { /^([\w.]+)$/ ? $1 : () } @tmp;
@hosts = map { /^([\w.]+)$/ ? $1 : () } <CFGFILE>;
In reply to Re^5: improving the aesthetics of perl code
by sleepingsquirrel
in thread improving the aesthetics of perl code
by tcf03
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |