The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

AIX::LPP::lpp_name - Perl module for manipulation of an AIX lpp_name file

SYNOPSIS

  use AIX::LPP::lpp_name;

  $x = lpp_name->new();
  $x->lpp(NAME => 'test.lpp',TYPE => 'I',PLATFORM => 'R',FORMAT => '4');
  $x->fileset('test.lpp.rte', VRMF => '1.0.0.0',DISK => '01',BOSBOOT => 'N',
        CONTENT => 'I', LANG => 'en_US', DESCRIPTION => 'test.lpp description',
        COMMENTS => '');
  my @reqs = [ ['*prereq','bos.rte','4.3.3.0'] ];
  $x->requisites('test.lpp.rte', \@reqs);
  my %sizes = { '/usr' => '5', '/etc' => '1' };
  $x->sizeinfo('test.lpp.rte', \%sizes);
  $x->write(\*out_fh);

  or

  $x = lpp_name->read(\*in_fh);
  my %lppdata = $x->lpp();
  my %fsdata = $x->fileset('test.lpp.rte');
  my $req_ref = $x->requisites('test.lpp.rte');
  my $size_ref = $x->sizeinfo('test.lpp.rte');
  

DESCRIPTION

AIX::LPP::lpp_name is a class module for reading, creating, and modifying AIX lpp_name files. The lpp_name file is an internal component of AIX packages (called LPPs). LPPs consist of filesets and information about installing them. This information can include: prerequisites, filesystem requirements, copywrites, etc..

CONSTRUCTOR METHODS

$x = lpp_name->new();

The simple form of the new constructor method creates an empty lpp_name object. This object is then modified using lpp() and fileset() object methods. Basic LPP information can also be passed to new() as follows: ...

$x = lpp_name->read(\*in_fh);

Alternatively, a new lpp_name object can be create by reading data from an lpp_name formatted file. read() is both a class method and an instance method (or it will be when I'm finished).

OBJECT METHODS

lpp()
fileset()
requisites()
sizeinfo()
read()
write()
validate()

Not yet implemented.

AUTHOR

Charles Ritter, critter@aixadm.org

SEE ALSO

The installp manpage, IBM LPP package format documentation.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 243:

You forgot a '=back' before '=head1'