Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
package FailedFile; use Moose; has 'data' => ( is => 'rw', isa => 'Str' ); has 'file_failed' => ( is => 'rw', isa => 'Bool', default => '1' ); sub check_file { my $self = shift; blah; blah; $self->failed_file(1) if blah; } __PACKAGE__->meta->make_immutable; 1;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Removing Moose
by Anonymous Monk on Oct 14, 2011 at 10:01 UTC | |
by Anonymous Monk on Oct 14, 2011 at 14:11 UTC | |
|
Re: Removing Moose
by doug (Pilgrim) on Oct 14, 2011 at 16:56 UTC |