Chestnut Package Manager is a utility to handleexecutables and resource files in a transparent,platform independent, and relocatable way. Itsconcept is similar to Apple bundles and Javaarchives. It is implemented in Python. Chestnutmakes it possible to invoke programs or obtainresources without knowledge of their absolute orrelative path, making them accessible even afterrelocation of the package to another directory.
I came across a number of apparent tarballs of OS packages which are in a format which I do not recognize. Does anybody know which packet manager uses this format?
# ls
pkg_cfiles
pkg_data
pkg_data32
pkg_data64
pkg_info
pkg_scripts
pkg_signature
# cat pkg_info
PACKAGE=8.2... (3 Replies)
Hi List,
Recently I was doing some toubleshooting installing a package on a Redhat 6 machine using the the installer script which came with that package and I got an error message telling me that a file was missing indicating that I had to google for the dependancies and install them before this... (2 Replies)
Hi there,
maybe one of you knows the software package tool during the installation of solaris 10. You are able to choose an installtion and customize it with pressing F4 ....
a very nice list occurs where you can select packages like apache, ssh and so on ...
Is it possible to start this... (0 Replies)
i'm trying to run Patch Manager, but i'm getting the following problem when i try and run "pprosvc" with either the -l, -d, or -i options.
Assessing patches needed for your system...... (8 Replies)
Package::New(3pm) User Contributed Perl Documentation Package::New(3pm)NAME
Package::New - Simple base package from which to inherit
SYNOPSIS
package My::Package;
use base qw{Package::New}; #provides new and initialize
DESCRIPTION
The Package::New object provides a consistent constructor for objects.
I find that I always need these two methods in every package that I build. I plan to use this package as the base for all of my CPAN
packages.
RECOMMENDATIONS
Sane defaults
I recommend that you have sane default for all of your object properties. I recommend using code like this.
sub myproperty {
my $self=shift;
$self->{"myproperty"}=shift if @_;
$self->{"myproperty"}="Default Value" unless defined $self->{"myproperty"};
return $self->{"myproperty"};
}
use strict and warnings
I recommend to always use strict, warnings and our version.
package My::Package;
use base qw{Package::New};
use strict;
use warnings;
our $VERSION='0.01';
Lazy Load where you can
I recommend Lazy Loading where you can.
sub mymethod {
my $self=shift;
$self->load unless $self->loaded;
return $self->{"mymethod"};
}
USAGE CONSTRUCTOR
new
my $obj = Package::New->new(key=>$value, ...);
initialize
You can override this method in your package if you need to do something after construction. But, lazy loading may be a better option.
BUGS
Log on RT and contact the author.
SUPPORT
DavisNetworks.com provides support services for all Perl applications including this package.
AUTHOR
Michael R. Davis
CPAN ID: MRDVT
DavisNetworks.com
http://www.DavisNetworks.com/
COPYRIGHT
This program is free software licensed under the...
The BSD License
The full text of the license can be found in the LICENSE file included with this module.
SEE ALSO
Building Blocks
base, parent
Other Light Weight Base Objects Similar to Package::New
Package::Base, Class::Base, Class::Easy, Object::Tiny
Heavy Base Objects - Drink the Kool-Aid
Moose, (as well as Moose-alikes Moo, Mouse), Class::Accessor, Class::Accessor::Fast, Class::MethodMaker, Class::Meta
Even more
Spiffy, mixin, SUPER, Class::Trait, Class::C3, Moose::Role
perl v5.14.2 2011-12-03 Package::New(3pm)