Syntactic Confectionery Delight | |
PerlMonks |
RE: Number of times I've used goto in Perlby dlc (Acolyte) |
on Apr 19, 2000 at 21:02 UTC ( [id://8057]=note: print w/replies, xml ) | Need Help?? |
Goto is almost required when you use the AUTOLOADer, as such: sub AUTOLOAD {no strict 'refs'; $AUTOLOAD =~ s/.*:://; *{ $AUTOLOAD } = sub { return ${ $AUTOLOAD }; }; goto &{ $AUTOLOAD }; }
In Section
Past Polls
|
|