Mike Bissett > DBIx-Changeset-1.11 > DBIx::Changeset::Record::Disk

Download:
DBIx-Changeset-1.11.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 1.11   Source  

NAME ^

DBIx::Changeset::Record::Disk - Read changeset files from the disk

SYNOPSIS ^

Read changeset files from the disk

this is a factory object and should be called the DBIx::Changeset::Record factory

    use DBIx::Changeset::Record;

    my $foo = DBIx::Changeset::Record->new('Disk', $opts);
    ...
    $foo->read('/moose/moose.sql');

METHODS ^

read This will read a file from the disk in the given location returning the data this is normally called from validate (which will set the id in the File object)

write This is the write interface implement in your own class

md5

        Return the md5 of the files contents

COPYRIGHT & LICENSE ^

Copyright 2004-2008 Grox Pty Ltd.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

The full text of the license can be found in the LICENSE file included with this module.

syntax highlighting: