Probably just write a method (sub). The attributes, has generated methods, are just for objects/instances. Moose is still just plain Perl so-
package Cow; use Moose; sub static { "Moo"; } package main; print Cow->static, $/;
In reply to Re: Moose: static methods
by Your Mother
in thread Moose: static methods
by saintex
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |