- or download this
package Foo::Utils {
sub frobnicate {
...
...; # some time later
$utils->frobincate; # call as a class method
- or download this
package Foo::Utils {
sub new { bless [], shift }
...
print "frobnicating!\n";
}
}
- or download this
package Foo::Utils {
use Moo;
...
print "frobnicating!\n";
}
}