Help for this page
die "Method '$_' unknown to class Person";
# creating object
my $john = Person;
print "It's ", $john->('age')->(), " years-old already!!!\n";
I'm John and I am 23 years-old, but my birthday is in just 2 seconds
[two seconds pass...]
Uncaught exception from user code:
Method 'address' unknown to class Person at closure.pl line 18
main::__ANON__('address') called at closure.pl line 40
There is no Extraterrestrial life
There aren't any suitably capable Extraterrestrials
Interstellar travel is too difficult
We're too uncool / not worth the trouble
What do you mean they haven't visited?
Results (496 votes). Check out past polls.