Changeset 6538
- Timestamp:
- Mar 7, 2006, 2:02:43 PM (20 years ago)
- Location:
- trunk/DataStore
- Files:
-
- 1 added
- 2 edited
-
MANIFEST (modified) (1 diff)
-
lib/DataStore/Product.pm (modified) (4 diffs)
-
t/05_product.t (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataStore/MANIFEST
r6503 r6538 18 18 t/03_file_parse.t 19 19 t/04_record.t 20 t/05_product.t -
trunk/DataStore/lib/DataStore/Product.pm
r6501 r6538 1 1 # Copyright (C) 2006 Joshua Hoblitt 2 2 # 3 # $Id: Product.pm,v 1. 1 2006-02-28 03:03:34jhoblitt Exp $3 # $Id: Product.pm,v 1.2 2006-03-08 00:02:43 jhoblitt Exp $ 4 4 5 5 package DataStore::Product; … … 77 77 type => SCALAR, 78 78 callbacks => { 79 ' uri ends with /' => sub { $_[0] =~ m|/$| },79 'is valid uri dirname' => sub { $_[0] =~ m|/$| }, 80 80 81 81 } … … 86 86 'is valid fileset ID' => sub { $_[0] =~ $std_field }, 87 87 }, 88 optional => 1, 88 89 }, 89 90 }, … … 101 102 =over 4 102 103 103 =item * C< foo()>104 =item * C<request()> 104 105 105 106 =cut 107 108 sub request 109 { 110 111 } 112 106 113 107 114 1;
Note:
See TracChangeset
for help on using the changeset viewer.
