in reply to Re^2: What happened to dor and err in Perl 5.10?
in thread What happened to dor and err in Perl 5.10?
Just like or is almost only be useful in structures of the form
func arg or stmt;
err would almost only be useful in structures of the form
func arg err stmt;
Simply replacing err with // would be wrong, but appropriate use of parens will do the trick:
func(arg) // stmt;
(func arg) // stmt;
if (not defined func arg) { stmt; }
etc.
|
---|
In Section
Seekers of Perl Wisdom