Subject: | missing to load Exporter. |
This one liner failed.
perl -e 'use Object::Generic::False qw/false/; warn false'
You forgot to load Exporter module. You need to load Exporter.
Following code is a proposed patch.
diff --git a/lib/Object/Generic/False.pm b/lib/Object/Generic/False.pm
index 560a928..fe69e5a 100644
--- a/lib/Object/Generic/False.pm
+++ b/lib/Object/Generic/False.pm
@@ -16,6 +16,7 @@
package Object::Generic::False;
use strict;
use warnings;
+use Exporter;
our @ISA = qw(Exporter);
our @EXPORT_OK = qw(false);
our $_false_ = new Object::Generic::False; # The global returned by false().