SPUG: Does Perl Scale? (Was: Evolution of Perl)
Damian Conway
damian at mail.csse.monash.edu.au
Sat Aug 11 19:34:51 CDT 2001
> On Sat, Aug 11, 2001 at 03:28:31PM -0700, Colin Meyer wrote:
> >
> > btw, Perl6 will support (if I understand correctly) data containers with
> > strong types. For example,
> >
> > my int $x; # $x can only store ints
> > my dog $spot; # $spot can only hold objects of class dog
>
> er, this will probably actually read like this (using variable properties):
>
> my $x is int;
> my $spot is dog;
Err, I don't think so.
The:
my INT $x; # $x can only store integers
my dog $spot; # $spot can only hold references to objects of class dog
# or its subclasses
syntax is far more likely.
Damian
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
POST TO: spug-list at pm.org PROBLEMS: owner-spug-list at pm.org
Subscriptions; Email to majordomo at pm.org: ACTION LIST EMAIL
Replace ACTION by subscribe or unsubscribe, EMAIL by your Email-address
For daily traffic, use spug-list for LIST ; for weekly, spug-list-digest
Seattle Perl Users Group (SPUG) Home Page: http://www.halcyon.com/spug/
More information about the spug-list
mailing list