Hi,
Can the defined operator/function be overridden? I ask this because
when I try to override it, apparently nothing happens. For example:
#----------------------------
use strict;
use subs 'defined';
use warnings;
sub defined($@) {
print "Inside defined\n";
}
defined(0) or die;
#----------------------------
When running this code, nothing is printed.
Am I doing something wrong?
Thanks,
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/