IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 6538


Ignore:
Timestamp:
Mar 7, 2006, 2:02:43 PM (20 years ago)
Author:
jhoblitt
Message:

add DataStore::Product (partial)

Location:
trunk/DataStore
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/DataStore/MANIFEST

    r6503 r6538  
    1818t/03_file_parse.t
    1919t/04_record.t
     20t/05_product.t
  • trunk/DataStore/lib/DataStore/Product.pm

    r6501 r6538  
    11# Copyright (C) 2006  Joshua Hoblitt
    22#
    3 # $Id: Product.pm,v 1.1 2006-02-28 03:03:34 jhoblitt Exp $
     3# $Id: Product.pm,v 1.2 2006-03-08 00:02:43 jhoblitt Exp $
    44
    55package DataStore::Product;
     
    7777                type        => SCALAR,
    7878                callbacks   => {
    79                     'uri ends with /'   => sub { $_[0] =~ m|/$| },
     79                    'is valid uri dirname'   => sub { $_[0] =~ m|/$| },
    8080
    8181                }
     
    8686                    'is valid fileset ID' => sub { $_[0] =~ $std_field },
    8787                },
     88                optional    => 1,
    8889            },
    8990        },
     
    101102=over 4
    102103
    103 =item * C<foo()>
     104=item * C<request()>
    104105
    105106=cut
     107
     108sub request
     109{
     110
     111}
     112
    106113
    1071141;
Note: See TracChangeset for help on using the changeset viewer.