slackget10::SpecialFileContainerList - This class is a container of slackget10::SpecialFileContainer object
Version 1.0.0
This class is a container of slackget10::SpecialFileContainer object, and allow you to perform some operations on this packages list. As the SpecialFileContainer class, it is a slack-get's internal representation of data.
use slackget10::SpecialFileContainerList; my $containerlist = slackget10::SpecialFileContainerList->new(); $containerlist->add($container); my $conainer = $containerlist->get($index); my $container = $containerlist->Shift();
This class constructor don't take any parameters.
my $containerlist = new slackget10::SpecialFileContainerList ();
Add the package passed in argument to the list. The argument must be a slackget10::SpecialFileContainer object
$containerlist->add($package);
return the $index slackget10::SpecialFileContainer object in the list
$containerlist->get($index);
return a reference on an array containing all packages.
$arrayref = $containerlist->get_all();
Same as the Perl shift. Shifts of and return the first slackget10::SpecialFileContainer of the slackget10::SpecialFileContainerList;
$package = $containerlist->Shift();
return an XML encoded string.
$xml = $containerlist->to_XML();
Alias for to_XML()
DUPUIS Arnaud, <a.dupuis@infinityperl.org>
<a.dupuis@infinityperl.org>
Please report any bugs or feature requests to bug-slackget10-SpecialFileContainerList@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-SpecialFileContainerList@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.