On Tue, Oct 30, 2001 at 03:59:30PM +1100, Damian Conway wrote:
(Though I *do* harbour a secret desire to resurrect - as a type specifier:
sub foo (@args) - rettype
Hmm... I would have expected is to come in here:
sub foo (@args) is IO::Handle
my $bar - int;
Hmm...
Aaron wrote:
sub foo (@args) - rettype
Hmm... I would have expected is to come in here:
sub foo (@args) is IO::Handle
It would have to be:
sub foo (@args) is type(IO::Handle)
or something, I think. Unless Larry decides that every class/module
name is
For a typed subroutine with named parameters, is the declaration syntax
(sans property declaration) going to be:
'sub' type ident '(' paramlist ')' block
(in, say, Parse::RecDescent)? I'm thinking about how to add subroutines
to BabyPerl*, and I need to know if