DBIx-FileSystem

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

  6. now you can test:
  	either: 'make test'
	or manually: 'perl -Iblib/lib t/02_access_data.t'


  
USING EXAMPLES:
---------------

To play around with the example warehouse you need a sample database:

  1. create the database on the server using SQL or commandline:
  	createdb warehouse
  2. modify example 'pawactl' to connect to this database. Edit the lines
     where these variables are set:
        $DBCONN
	$DBUSER
	$DBPWD
  3. run example 'perl -Iblib/lib examples/pawactl recreatedb' to install 
     the sample data in db
  4. play around with the example shell: 'perl -Iblib/lib examples/pawactl'
     NOTE: take a look at the comments in pawactl
  5. play around with the access sample: 'perl -Iblib/lib examples/access'



CHANGES:
--------

1.00	24 Mar 2003
	initial version

1.01	8 Apr 2003
	- rmcheck option added
	- volok option added
	- vi now can create new files (usefull with 'NOT NULL' constraint)

1.02	7 May 2003
	- added (dummy) t/dummy.t testing
	- internal release

1.03	8 May 2003
	- rename: t/dummy.t to t/use.t

1.04	16 June 2003
	- cp: missing filenamecheck for new file added
	- vdirs: desc now may be multiline by adding '\n' to the text

1.05	10 July 2003
	- the valok custom check functions now get a second parameter holding
	  a hash ref of all variables read in from the to-be-edited-file,
	  key is the columnname (cols)
	- pawactl modify to show an example how to use the above hashref

1.06	14 July 2003
	- comcol in %vdirs hash introduced: define a column that will hold
	  comments for a file
	- introduced new commands 'll' and 'ld' 
	- check length of fnamcol column againtst $LS_COL_WIDTH
	- added possibility to add custom commands
	- rmcheck and volok callbacks: added param dbh

1.07	21 july 2003
	- added missing t/use.t to MANIFEST

1.08 	11 aug 2003 
	- more %vdirs checking at startup
	- vi/cat now use 'desc' instead of 'var' when column is fnamcol

1.09	03 feb 2004
	- delcp option: when saving a file this var will also checked 
	  against duplicate entries in other files in this dir (unique test)
	- delcp now is called 'uniq', print out warning msg when delcp used
	- added 'vgrep' command

1.10	skipped

1.1	skipped

1.2	10 jun 2007
	- extended int datatype to behave like a collection of configurable
	  flags (bits) if option 'flags' is set
	- added new types 'cidr' and 'inet' (will work with PostgreSql only)
	- added flags example to pawactl
	- added cidr example to pawactl
	- minor bug fixes in application and docs

1.3	11 jul 2007
	- bugfix: display of defaultvalues from defaultfile wrong (cat/vi)
	- pawactl: setup some more usefull sample values

1.4	11 nov 2007
	- extended int datatype to behave like a enum integer type if option
	  'enums' is set
	- added enums example to pawactl

1.5	4 dec 2007
	- added access class for database values, the access function 
	  respects the defaultfile function

1.6	12 dec 2007
	- fixed locale dependency in test 01_access_isanumber.t

1.7	13 dec 2007
	- using multiple 'use constant' instead of single one to be
	  compatible with older perls
	- added missing requirement "Test::Simple" to Makefile.PL

1.8	21 jan 2008
	- bugfix: 'use of uninitialized value' when saving a file where a
	  var is NULL/undef and defined with option 'uniq'

1.9 	28 mar 2008
	- bugfix: user supplied valok-check got string 'NULL' instead of 
	  undef when an enum has nothing selected
	- bugfix: enum descriptions in vi/cat now sorted numerically by 
	  enum value instead of lexically by enum value

2.0 	08 jul 2008
	- added new alternate parameter rdbh for constructor of access class
	- added test for above parameter



( run in 1.478 second using v1.01-cache-2.11-cpan-f52f0507bed )