[svn:p5ee] r7990 - p5ee/trunk/App-Options

[email protected]
Newsgroups perl.cvs.p5ee
Message-ID <[email protected]>
Author: spadkins
Date: Fri Oct 27 11:40:09 2006
New Revision: 7990

Modified:
   p5ee/trunk/App-Options/CHANGES
   p5ee/trunk/App-Options/Makefile.PL
   p5ee/trunk/App-Options/TODO

Log:
checkin for release 1.02

Modified: p5ee/trunk/App-Options/CHANGES
==============================================================================
--- p5ee/trunk/App-Options/CHANGES	(original)
+++ p5ee/trunk/App-Options/CHANGES	Fri Oct 27 11:40:09 2006
@@ -2,6 +2,20 @@
 # CHANGE LOG
 #############################################################################
 
+VERSION 1.02
+ x ENV{FOO} = x in app.conf sets environment variable "FOO" (i.e. LD_LIBRARY_PATH)
+ x added perl_restart option to re-exec() the program so that it picks up a new LD_LIBRARY_PATH
+ x save original @ARGV to @App::Options::ARGV (used for perl_restart/re-exec())
+ x line continuation characters strip off newlines and leading spaces
+
+VERSION 1.01
+ x removed dependency in Makefile.PL on Config.pm (which was causing a false error on "make test")
+
+VERSION 1.00
+ x clean up for v1.00. no dependency on Module::Build (which has been giving problems)
+ x add default values for MANPATH, LD_LIBRARY_PATH to bin/prefix
+ x added t/file.txt so the test process doesn't spew warnings
+
 VERSION 0.99
  x fixed a condition that didn't work on Windows when executing in current dir
  x fix double slash /usr/rubicon/test/bin//app.conf

Modified: p5ee/trunk/App-Options/Makefile.PL
==============================================================================
--- p5ee/trunk/App-Options/Makefile.PL	(original)
+++ p5ee/trunk/App-Options/Makefile.PL	Fri Oct 27 11:40:09 2006
@@ -17,11 +17,11 @@
     'VERSION_FROM' => 'lib/App/Options.pm',
     'EXE_FILES'    => [ @programs ],
     'PREREQ_PM'    => {
-        "Carp"           => 0,  # use croak() instead of die()
-        "Sys::Hostname"  => 0,  # use hostname() to get hostname/host options
-        "Cwd"            => 0,  # use abs_path() to turn relative to absolute directory
-        "File::Spec"     => 0,  # make directory handling work cross-platform (i.e. MSWin)
-        "Config"         => 0,  # find prefix directory for the installation of perl
+        "Carp"           => "0.01",  # use croak() instead of die()
+        "Sys::Hostname"  => "0.01",  # use hostname() to get hostname/host options
+        "Cwd"            => "0.01",  # use abs_path() to turn relative to absolute directory
+        "File::Spec"     => "0.01",  # make directory handling work cross-platform (i.e. MSWin)
+        #"Config"         => "0.01",  # find prefix directory for the installation of perl
     },
     'dist'         => {'COMPRESS'=>'gzip -9f', 'SUFFIX' => 'gz',
                        'ZIP'=>'/usr/bin/zip', 'ZIPFLAGS'=>'-rl'},

Modified: p5ee/trunk/App-Options/TODO
==============================================================================
--- p5ee/trunk/App-Options/TODO	(original)
+++ p5ee/trunk/App-Options/TODO	Fri Oct 27 11:40:09 2006
@@ -19,7 +19,6 @@
        4 = [1+2+3] + file options not defined by program cause errors
  o allow for subclassing (App::Options::YAML, etc.) (split up the init() method)
  o save the init(@args) for later print_usage or later reparsing
- o setenv arg to set environment variables
  o make lots more tests (starting with the examples in the documentation)
  o make example scripts (starting with the examples in the documentation)
  o enforce other option parsing rules (single letter + arg, single/double dash)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.