I'd use or and not instead of || && ! because the long names:
So I'd write it the following way, although it is a little bit longer:
print "no editor found\n" unless defined $ENV{EDITOR} or defined $ENV{VISUAL};
Best regards,
perl -e "s>>*F>e=>y)\*martinF)stronat)=>print,print v8.8.8.32.11.32"
In reply to Re^2: interpretation of "neither...nor"
by strat
in thread Re: interpretation of "neither...nor"
by cgmd
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |