package Foo; use Any::Moose; has 'x' => (is => 'rw', isa => 'Int'); has 'y' => (is => 'rw', isa => 'Int'); no Any::Moose; package Bar; use Any::Moose; has 'x' => (is => 'rw', isa => 'Int'); has 'y' => (is => 'rw', isa => 'Int'); has 'z' => (is => 'rw', isa => 'Int'); no Any::Moose;
In reply to Re: Perl Modules with 2 or more classes
by Anonymous Monk
in thread Perl Modules with 2 or more classes
by ribluc
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |