Chapter 5. Perl Programs
Prev |  | Next

# Chapter 5. Perl Programs

## 5.1. Script Magic

All packaged perl programs should 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 dependencies (see Section 4.4.3, “Automating Perl Dependencies”).

Prev |  | Next
Chapter 4. Packaged Modules | Home | Chapter 6. Programs Embedding Perl