RE: Perl 6 modules plan

2001-08-14 Thread Garrett Goebel
From: Graham Barr [mailto:[EMAIL PROTECTED]] On Mon, Aug 13, 2001 at 04:38:43PM -0700, Nathan Wiger wrote: And allow flexible calling styles. For example, you might say: # import args() for argument validation use Module::Interface qw/args/; sub my_func (@) { my

RE: Perl 6 modules plan

2001-08-14 Thread Garrett Goebel
From: Michael G Schwern [mailto:[EMAIL PROTECTED]] On Tue, Aug 14, 2001 at 09:55:37AM -0500, Garrett Goebel wrote: There should be ONE calling style for each sub/method. Allowing this _will_ cause different people to use different calling styles and also possible confusion. It

Will subroutine signatures apply to methods in Perl6

2001-08-14 Thread Garrett Goebel
Any word from on high whether subroutine signatures will apply to methods in Perl6? There's RFC128 and RFC97... but they both mostly dodge the issue of methods. The absense of method signatures for specifying required, optional, and named parameters... not to mention type-checking for validation