From 01abe8afb95f4bafb1f192fb3fe451a95cd2e3f8 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Sun, 15 Feb 2015 23:18:31 +0100 Subject: perl: Rework use and exporter declarations Place 'use' strict and warnings first, then Exporter 'our' declarations, then Test module imports, then system module imports, then Dpkg module imports, then 'use' parent and overload pragmas, separated by a blank line for each block. Split each exported symbol declaration into its own line to ease modifications. --- scripts/Dpkg/Compression/FileHandle.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts/Dpkg/Compression') diff --git a/scripts/Dpkg/Compression/FileHandle.pm b/scripts/Dpkg/Compression/FileHandle.pm index 4ccd31584..4ddd78403 100644 --- a/scripts/Dpkg/Compression/FileHandle.pm +++ b/scripts/Dpkg/Compression/FileHandle.pm @@ -21,14 +21,14 @@ use warnings; our $VERSION = '1.01'; +use POSIX qw(:signal_h :sys_wait_h); +use Carp; + use Dpkg::Compression; use Dpkg::Compression::Process; use Dpkg::Gettext; use Dpkg::ErrorHandling; -use Carp; -use POSIX qw(:signal_h :sys_wait_h); - use parent qw(FileHandle Tie::Handle); # Useful reference to understand some kludges required to -- cgit v1.2.3