projects
/
gitmo/MooseX-Singleton.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Move actual singleton logic out of MooseX::Singleton::Object and into MooseX::Singlet...
[gitmo/MooseX-Singleton.git]
/
lib
/
MooseX
/
Singleton
/
Object.pm
1
#!/usr/bin/env perl
2
package MooseX::Singleton::Object;
3
use Moose;
4
use metaclass 'MooseX::Singleton::Meta::Class';
5
6
extends 'Moose::Object';
7
8
no strict 'refs';
9
10
sub instance { shift->new }
11
12
1;
13