in reply to Re: moving the filehandle to anyline of a file
in thread moving the filehandle to anyline of a file
Or simply, if we're refactoring,
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 Section
Seekers of Perl Wisdom