in reply to Re^3: Stop Using Perl
in thread Stop Using Perl
An example would have been nice ...
(... google ... google...)
I think you mean something like
has pizza => ( is => 'ro', isa => 'Pizza', writer => '_pizza', );
which is just syntactic sugar (sic) for
has 'pizza' , is => 'ro', isa => 'Pizza', writer => '_pizza', ;
and maybe should have been better designed as
has pizza => { is => 'ro', isa => 'Pizza', writer => '_pizza', };
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: Stop Using Perl
by LanX (Saint) on Jan 02, 2015 at 02:02 UTC | |
by Anonymous Monk on Jan 02, 2015 at 07:50 UTC |