Archive::Rgssad::Entry - The great new Archive::Rgssad::Entry!
use Archive::Rgssad::Entry; # create a new entry my $entry = Archive::Rgssad::Entry->new($path, $data); # update path and data $entry->path($new_path); $entry->data($new_data); # save the entry to file open FH, '>', $entry->path; print FH $entry->data; close FH;
Each entry in rgssad archive is simply a (path, data) pair.
Create a new entry.
Return the path of the entry. If $new_path is given, set the path to $new_path and return it.
Return the data of the entry. If $new_data is given, set the data to $new_data and return it.
<watashi at watashi.ws>
You can find documentation for this module with the perldoc command.
You can also look for information at:
Copyright 2012 Zejun Wu.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.