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.
Zejun Wu, <watashi at watashi.ws>
<watashi at watashi.ws>
You can find documentation for this module with the perldoc command.
perldoc Archive::Rgssad::Entry
You can also look for information at:
GitHub
https://github.com/watashi/perl-archive-rgssad
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.
To install Archive::Rgssad, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Archive::Rgssad
CPAN shell
perl -MCPAN -e shell install Archive::Rgssad
For more information on module installation, please visit the detailed CPAN module installation guide.