From c1a9df1ad716686c009214b2433947c9db45e510 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Tue, 16 Jul 2002 02:59:17 +0000 Subject: use POSIX instead of Fcntl :seek for older Perls --- Echolot/Commands.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Echolot/Commands.pm') diff --git a/Echolot/Commands.pm b/Echolot/Commands.pm index 667f27b..e502a91 100644 --- a/Echolot/Commands.pm +++ b/Echolot/Commands.pm @@ -1,7 +1,7 @@ package Echolot::Commands; # (c) 2002 Peter Palfrader -# $Id: Commands.pm,v 1.7 2002/07/16 02:48:57 weasel Exp $ +# $Id: Commands.pm,v 1.8 2002/07/16 02:59:17 weasel Exp $ # =pod @@ -19,7 +19,8 @@ This package provides functions for sending out and receiving pings. use strict; use Carp qw{cluck}; use Fcntl ':flock'; # import LOCK_* constants -use Fcntl ':seek'; # import SEEK_* constants +#use Fcntl ':seek'; # import SEEK_* constants +use POSIX; # import SEEK_* constants (older perls don't have SEEK_ in Fcntl) use English; sub addCommand($) { -- cgit v1.2.3