Browse files

Fix 'Simple' loading

  • Loading branch information...
1 parent e920a2e commit 689da0439f628a4a69cbb6d577ae2a016eda1720 @dolmen committed Oct 22, 2011
Showing with 4 additions and 1 deletion.
  1. +4 −1 lib/Number/Phone/FR.pm
View
5 lib/Number/Phone/FR.pm
@@ -39,7 +39,6 @@ sub import
# Load the class
eval "require $class; 1" or croak "$@\n";
$class->isa(__PACKAGE__) or croak "$class is not a valid class";
- print $class->RE_FULL, "\n";
}
} else {
#croak "unexpected arguments for import" if @_;
@@ -326,6 +325,10 @@ package Number::Phone::FR::Simple;
use parent 'Number::Phone::FR';
+BEGIN {
+ $INC{'Number/Phone/FR/Simple.pm'} = __FILE__;
+}
+
1;
__END__
=head1 NAME

0 comments on commit 689da04

Please sign in to comment.