]> Dogcows Code - chaz/p5-CGI-Ex/blobdiff - lib/CGI/Ex/Conf.pm
CGI::Ex 2.22
[chaz/p5-CGI-Ex] / lib / CGI / Ex / Conf.pm
index f635f201612f8e7babf9f5edf2b11705441e6c49..365ece2d057b1fbd4640364a1502aea478e5e6d0 100644 (file)
@@ -29,7 +29,7 @@ use vars qw($VERSION
             );
 @EXPORT_OK = qw(conf_read conf_write in_cache);
 
-$VERSION = '2.21';
+$VERSION = '2.22';
 
 $DEFAULT_EXT = 'conf';
 
@@ -262,6 +262,7 @@ sub read_handler_json {
   open (IN, $file) || die "Couldn't open $file: $!";
   CORE::read(IN, my $text, -s $file);
   close IN;
+  require JSON;
   return scalar JSON::jsonToObj($text);
 }
 
This page took 0.020105 seconds and 4 git commands to generate.