Chapter 5. Perl Programs

Table of Contents

5.1. Script Magic
5.2. Program Dependencies

5.1. Script Magic

All packaged perl programs must start with #!/usr/bin/perl and may append such flags as are required.

5.2. Program Dependencies

Programs which require core modules from the perl package must specify a dependency on that package.

Programs which contain explicit require version or use version statements must specify a dependency on perl or perl-base with the minimum required version, or more simply the current version.

As with modules, packages using debhelper may use dh_perl(1) to automatically generate dependences (see Section 4.4.3, “Automating Perl Dependencies”).