On Sun, Jun 05, 2005 at 10:22:16PM +0200, Ingo Blechschmidt wrote:
: Hi,
:
: two quick questions:
:
:
: Are multi submethods allowed?
Presumably.
: my $x = undef;
: my $y = $x.some_method;
: # $y now contains an unthrown exception object, saying that undef
: # doesn't .can("some_method
Hi,
two quick questions:
Are multi submethods allowed?
my $x = undef;
my $y = $x.some_method;
# $y now contains an unthrown exception object, saying that undef
# doesn't .can("some_method"), right?
say $y; # Only now it dies, correct?
This is important if you have a sub which may ei