-#!/usr/bin/perl
-
package Squirrel;
-
use strict;
use warnings;
my $caller = caller(1);
- $pkgs{$caller} ||= $class->_choose_backend;
+ $pkgs{$caller} = $class->_choose_backend
+ unless $pkgs{$caller};
}
sub import {
goto $_[0]->_handlers->{unimport};
}
-__PACKAGE__
+1;
__END__
L<Mouse> you can use either, and let your users decide for you.
This lets you run with minimal dependencies and have a faster startup, but if
-L<Moose> is already in use you get all the benefits of using that.
+L<Moose> is already in use you get all the benefits of using that
+(transformability, introspection, more opportunities for code reuse, etc).
=cut