in reply to Re^2: what would you like to see in perl5.12?
in thread what would you like to see in perl5.12?
Bump the Moose suggestion and you can get close to that functionality now...
Evan Carroll
www.EvanCarroll.com
use Moose; has 'string' => ( isa => 'Str', is => 'rw' ); has 'times' => ( isa => 'Int', is => 'rw' ); sub foo { my $self = shift; my ( $string, $times ) = ( $self->string, $self->times ); }
Evan Carroll
www.EvanCarroll.com
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: what would you like to see in perl5.12?
by moritz (Cardinal) on Aug 20, 2007 at 09:35 UTC |
In Section
Meditations