http://qs321.pair.com?node_id=216341


in reply to Re: Re: My coding guidelines
in thread My coding guidelines

You wrote:
Since I never use 'not' in my code ... yes. ;)

If not, why not? What do you use instead?
I find not is usually the cleanest and most readable operator for all sorts of tests.

die "$usage" if not @ARGV; if (not -r $file) { die "Cannot read $file\n"; } print "$pattern not found in $file\n" if not $found;
And so forth.

--
Regards,
Helgi Briem
helgi AT decode DOT is