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.
And so forth.die "$usage" if not @ARGV; if (not -r $file) { die "Cannot read $file\n"; } print "$pattern not found in $file\n" if not $found;
--
Regards,
Helgi Briem
helgi AT decode DOT is
In reply to Re: Re: Re: My coding guidelines
by helgi
in thread My coding guidelines
by Abigail-II
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |