Skip to content

Commit

Permalink
Bring back is_moose_loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
sartak committed May 18, 2009
1 parent 1a733ee commit 4889b52
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Any/Moose.pm
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@ sub is_class_loaded {
return Mouse::is_class_loaded($class_name);
}

sub is_moose_loaded { !!$INC{'Class/MOP.pm'} }

sub _canonicalize_fragment {
my $fragment = shift;

Expand Down

0 comments on commit 4889b52

Please sign in to comment.