November 8 2014 Weekend Wonders and Modest Modules Back

Setup

Constructor takes:

                    file            => 'path/to/myfile',
                    header_split    => '\s*=\s*',
                    rules           => [
                        {
                            rule => sub { exists $metaref->{d}; },
                            label => q{'d' key must exist},
                        },
                        {
                            rule => sub { $metaref->{d} =~ /^\d+$/; },
                            label => q{'d' key must be non-negative integer},
                        },
                    ],


Home Last TOC Copyright © 2014 James E Keenan Back Next