slackget10::SpecialFileContainer - A class to class, sort and compil the PACKAGES.TXT, CHECKSUMS.md5 and FILELIST.TXT
Version 1.0.0
This class is a front-end for the 3 sub-class slackget10::SpecialFiles::PACKAGES , slackget10::SpecialFiles::CHECKSUMS and slackget10::SpecialFiles::FILELIST.
Act as a container but also make a treatment (the compilation of the 3 subclasses in one sol object)
Parameters are :
a unique id FILELIST => the FILELIST.TXT filename PACKAGES => the PACKAGES.TXT filename CHECKSUMS => the CHECKSUMS.md5 filename use slackget10::SpecialFileContainer; my $container = slackget10::SpecialFileContainer->new( 'slackware', FILELIST => /home/packages/update_files/FILELIST.TXT, PACKAGES => /home/packages/update_files/PACKAGES.TXT, CHECKSUMS => /home/packages/update_files/CHECKSUMS.md5 );
Mainly call the compile() method of the special files.
$container->compile();
return a string XML encoded which represent the compilation of PACKAGES, FILELIST, CHECKSUMS constructor parameters.
my $string = $container->to_XML();
DUPUIS Arnaud, <a.dupuis@infinityperl.org>
<a.dupuis@infinityperl.org>
Please report any bugs or feature requests to bug-slackget10-networking@rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=slackget10. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-slackget10-networking@rt.cpan.org
Copyright 2005 DUPUIS Arnaud, All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install slackget10, copy and paste the appropriate command in to your terminal.
cpanm
cpanm slackget10
CPAN shell
perl -MCPAN -e shell install slackget10
For more information on module installation, please visit the detailed CPAN module installation guide.