Re: Rookie Perl Question



Eric R. Meyers <ermeyers@xxxxxxxxxxxx> wrote:

print if ( ! m/^[#]/ );


That is fine if you are trying to hide what the code does.

In case you might prefer maintainable code instead, then:

print unless /^#/;


--
Tad McClellan SGML consulting
tadmc@xxxxxxxxxxxxxx Perl programming
Fort Worth, Texas
.