cvs commit: p5ee/App-Options/t test2

[email protected]
Newsgroups perl.cvs.p5ee
Message-ID <[email protected]>
cvsuser     05/01/30 15:04:59

  Modified:    App-Options CHANGES TODO
               App-Options/t test2
  Log:
  prep for 0.94 release
  
  Revision  Changes    Path
  1.10      +2 -0      p5ee/App-Options/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /cvs/public/p5ee/App-Options/CHANGES,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- CHANGES	14 Jan 2005 13:56:21 -0000	1.9
  +++ CHANGES	30 Jan 2005 23:04:59 -0000	1.10
  @@ -6,6 +6,8 @@
    x use Module::Build instead of ExtUtils::MakeMaker
    x add a META.yaml file to the distribution (from "Build distmeta")
    x add --version support (print out versions of all modules)
  + x make prefix authoritative before defaults so that we can use ${prefix} in substitutions
  + x set defaults in order of "options" to ensure the correct order for variable substitution
   
   VERSION 0.93
    x prefix can now be set in $prog_dir/app.conf to find $prefix/etc/app/app.conf
  
  
  
  1.9       +10 -9     p5ee/App-Options/TODO
  
  Index: TODO
  ===================================================================
  RCS file: /cvs/public/p5ee/App-Options/TODO,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- TODO	28 Dec 2004 22:28:52 -0000	1.8
  +++ TODO	30 Jan 2005 23:04:59 -0000	1.9
  @@ -1,30 +1,31 @@
   ######################################################################
  -## File: $Id: TODO,v 1.8 2004/12/28 22:28:52 spadkins Exp $
  +## File: $Id: TODO,v 1.9 2005/01/30 23:04:59 spadkins Exp $
   ######################################################################
   
   These items are what will be required to go to version 1.00.
    o use File::Spec to make file/directory manipulation platform-independent
   
   These are other interesting things which I might do
  + o investigate why $PREFIX/lib gets added to @INC twice
  + o "strict" option:
  +       0 = no strictness
  +       1 = unknown cmd line options cause error (file can define options),
  +       2 = [1] + silently don't include env+file options not defined by program
  +       3 = [1+2] + unknown cmd line options cause error (program only can define options)
  +       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 file/cmd variables, var = <FILE>filename (or "cmd|")
    o here documents, var = <<EOF
    o line continuation chars, i.e. var = hello \\nworld
    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 add --version support (print out own version and versions of all modules)
    o enforce other option parsing rules (single letter + arg, single/double dash)
    o option aliases/synonyms/alternates (i.e. -s = --silent)
    o "secure" attribute (to ensure that passwords are only stored in files not
      readable by "world", and never in %ENV)
  - o "strict" option:
  -       0 = no strictness
  -       1 = unknown options cause error (file can define options),
  -       2 = [1] + unknown cmdline options cause error (program only can define options)
  -       3 = [1+2] + silently don't include options from file not defined by program
  -       4 = [1+2+3] + options from file not defined by program cause errors
    o write "prefix.pod"
    o try use lib "dir"; instead of unshift(@INC,"dir") (interaction with "arch")
    o consider checking the PERL5LIB variable under -T
  - o allow for subclassing (App::Options::YAML, etc.) (split up the init() method)
   
  
  
  
  1.4       +1 -0      p5ee/App-Options/t/test2
  
  Index: test2
  ===================================================================
  RCS file: /cvs/public/p5ee/App-Options/t/test2,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- test2	19 Feb 2004 16:17:15 -0000	1.3
  +++ test2	30 Jan 2005 23:04:59 -0000	1.4
  @@ -2,6 +2,7 @@
   
   use lib "lib";
   use lib "../lib";
  +
   use App::Options (
       option => {
           invoice_id => "4",
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.