in reply to Re: "flock" is not defined in %Fcntl::EXPORT_TAGS at /usr/lib/perl5/Exporter.pm
in thread "flock" is not defined in %Fcntl::EXPORT_TAGS at /usr/lib/perl5/Exporter.pm

I have Perl 5.6.0 . Line 29 of openwebmail-tool.pl reads:
use Fcntl qw(:DEFAULT :flock);
Any other ideas?
  • Comment on Re^2: "flock" is not defined in %Fcntl::EXPORT_TAGS at /usr/lib/perl5/Exporter.pm
  • Download Code

Replies are listed 'Best First'.
Re^3: "flock" is not defined in %Fcntl::EXPORT_TAGS at /usr/lib/perl5/Exporter.pm
by tall_man (Parson) on Dec 02, 2004 at 17:30 UTC
    Examine the code in your Fcntl.pm file. Mine contains:
    # Named groups of exports %EXPORT_TAGS = ( 'flock' => [qw(LOCK_SH LOCK_EX LOCK_NB LOCK_UN)], ...
    Possibly this tag was not defined in the version of Fcntl.pm that came with Perl 5.6.0. You could get around this various ways, such as by importing the listed symbols directly or by updating the Fcntl module.