I've always found unless clearer than a negated if for short single-condition conditionals like that. I do accept that that's personal preference, though .. :)while ( <FH> ) { next unless /^Confname/; ... }
-- Tanalis
#include www.liquidfusion.org.uk
In reply to Re^2: moving the filehandle to anyline of a file
by Tanalis
in thread moving the filehandle to anyline of a file
by jesuashok
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |