in reply to Re: Griping about Typing
in thread Griping about Typing
Only trouble is (gee whizz!) I'm dreaming my life away.my $bork = Bork->new(); my Chef $x = $bork->bork->bork;
Ahem, back at the plot, the trouble is that perl will silently ignore your careful predeclaration and assign to $x even if ! $bork->bork->bork->isa('Chef'), which is a shame. use strict 'declarations' anyone? Implementation left as an exercise to the interested reader obviously. Me and C don't get on.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Griping about Typing
by tadman (Prior) on Apr 19, 2002 at 18:51 UTC | |
by pdcawley (Hermit) on Apr 22, 2002 at 15:52 UTC | |
by Anonymous Monk on Sep 29, 2003 at 23:39 UTC |