At 01:31 AM 2/28/04 +1100, David le Blanc wrote: >Now remember, a perl 'prototype' is not a prototype in the regular >sense, >but a method to override perl's natural greedy argument list collection, >and a method to create functions which emulate perl's builtins (ie, >provide >hints to the expected calling context).
Good point. Just so I'm clear ... will the prototype still apply if someone calls the subroutine by explicit module name e.g. my $x = MyProject::ModuleName::MySub; without importing any symbols from the module, in the case when the module does not export any names by default? Or is importing/exporting a separate issue from prototypes? It seems there are some hoops one has to jump through to make sure that the prototype is 'known' for any given subroutine call, but I'm not real clear as to just what those hoops are ... Thanks again. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>