| 1 |
App-Packager |
| 2 |
============ |
| 3 |
|
| 4 |
App::Packager provides an abstract interface to a number of common |
| 5 |
packagers, trying to catch as much common behaviour as possible. |
| 6 |
|
| 7 |
The main purpose is to have uniform access to application specific |
| 8 |
resources. |
| 9 |
|
| 10 |
Supported packagers are PAR::Packer, Cava::Packager and unpackaged. In the |
| 11 |
latter case, the packager functions are emulated via Cava::Packager which |
| 12 |
provides fallback for unpackaged use. |
| 13 |
|
| 14 |
For example: |
| 15 |
|
| 16 |
use App::Packager qw( :name My::App ); |
| 17 |
print "My packager is: ", App::Packager::Packager(), "\n"; |
| 18 |
print getresource("README.txt"); |