[Bps-public-commit] r15825 - in App-CLI/trunk: . lib/App

clkao at bestpractical.com clkao at bestpractical.com
Mon Sep 8 07:15:35 EDT 2008


Author: clkao
Date: Mon Sep  8 07:15:35 2008
New Revision: 15825

Modified:
   App-CLI/trunk/   (props changed)
   App-CLI/trunk/Changes
   App-CLI/trunk/Makefile.PL
   App-CLI/trunk/lib/App/CLI.pm
   App-CLI/trunk/lib/App/CLI/Command.pm

Log:
 r342 at mtl:  clkao | 2006-06-06 01:09:37 +0800
 this was 0.04, didn't actually committed it


Modified: App-CLI/trunk/Changes
==============================================================================
--- App-CLI/trunk/Changes	(original)
+++ App-CLI/trunk/Changes	Mon Sep  8 07:15:35 2008
@@ -1,3 +1,7 @@
+* 0.04 - 11 Apr 2006
+
+  * Delay loading Pod::Simple::Text.
+
 * 0.03 - 27 Dec 2005
 
   * Forgot to bundle Command::Help.

Modified: App-CLI/trunk/Makefile.PL
==============================================================================
--- App-CLI/trunk/Makefile.PL	(original)
+++ App-CLI/trunk/Makefile.PL	Mon Sep  8 07:15:35 2008
@@ -10,7 +10,8 @@
 
 requires(
     'Locale::Maketext::Simple' => 0,
-    'Getopt::Long'             => '2.34',
+    'Getopt::Long'             => '2.35',
+    'Pod::Simple::Text'        => 0,
 );
 
 include('ExtUtils::AutoInstall');

Modified: App-CLI/trunk/lib/App/CLI.pm
==============================================================================
--- App-CLI/trunk/lib/App/CLI.pm	(original)
+++ App-CLI/trunk/lib/App/CLI.pm	Mon Sep  8 07:15:35 2008
@@ -1,5 +1,5 @@
 package App::CLI;
-our $VERSION = 0.03;
+our $VERSION = 0.04;
 use strict;
 use warnings;
 
@@ -147,7 +147,7 @@
 
 =head1 COPYRIGHT
 
-Copyright 2005 by Chia-liang Kao E<lt>clkao at clkao.orgE<gt>.
+Copyright 2005-2006 by Chia-liang Kao E<lt>clkao at clkao.orgE<gt>.
 
 This program is free software; you can redistribute it and/or modify it
 under the same terms as Perl itself.

Modified: App-CLI/trunk/lib/App/CLI/Command.pm
==============================================================================
--- App-CLI/trunk/lib/App/CLI/Command.pm	(original)
+++ App-CLI/trunk/lib/App/CLI/Command.pm	Mon Sep  8 07:15:35 2008
@@ -1,7 +1,6 @@
 package App::CLI::Command;
 use strict;
 use warnings;
-use Pod::Simple::Text;
 use Locale::Maketext::Simple;
 
 =head1 NAME
@@ -107,6 +106,7 @@
     my ($self, $want_detail) = @_;
     my $fname = $self->filename;
     my($cmd) = $fname =~ m{\W(\w+)\.pm$};
+    require Pod::Simple::Text;
     my $parser = Pod::Simple::Text->new;
     my $buf;
     $parser->output_string(\$buf);
@@ -180,7 +180,7 @@
 
 =head1 COPYRIGHT
 
-Copyright 2005 by Chia-liang Kao E<lt>clkao at clkao.orgE<gt>.
+Copyright 2005-2006 by Chia-liang Kao E<lt>clkao at clkao.orgE<gt>.
 
 This program is free software; you can redistribute it and/or modify it
 under the same terms as Perl itself.



More information about the Bps-public-commit mailing list