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

NAME

example.pl - An example script on how to use the Software::Packager module.

DESCRIPTION

I created this script after a request from someone who was using this module asked how to properly use the Software::Packager module.

There is not really much to the process.

You start in the usual way...

#!/usr/bin/perl use strict; use Software::Packager;

next we need to create an object with which to reference the Software::Packager

my $packager = new Software::Packager;

This will try to return the Software::Packager::<platform> for your current platform.

Alternativly you can specify the Software::Packager::<sub class> that you want to use.

my $packager = new Software::Packager('tar');