slackget10::Packageslackget10::Package this class is the internal representation of a package for slack-get 1.0. | |
Download |
slackget10::Package Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- DUPUIS Arnaud
- Publisher web site:
- http://search.cpan.org/~dupuisarn/slackget10-0.12c/lib/slackget10/Base.pm
slackget10::Package Tags
slackget10::Package Description
slackget10::Package this class is the internal representation of a package for slack-get 1.0. slackget10::Package this class is the internal representation of a package for slack-get 1.0.SYNOPSISThis module is used to represent a package for slack-get use slackget10::Package; my $package = slackget10::Package->new('package-1.0.0-noarch-1'); $package->setValue('description',"This is a test of the slackget10::Package object"); $package->fill_object_from_package_name();CONSTRUCTORnewThe constructor take two parameters : a package name, and an id (the namespace of the package like 'slackware' or 'linuxpackages') my $package = new slackget10::Package ('aaa_base-10.0.0-noarch-1','slackware');The constructor automatically call the fill_object_from_package_name() method.You also can pass some extra arguments like that : my $package = new slackget10::Package ('aaa_base-10.0.0-noarch-1', 'package-object-version' => '1.0.0');The constructor return undef if the id is not defined.Requirements:· Perl
slackget10::Package Related Software