R
roi.lists
If I have a program with:
use Module;
use Fcntl;
use POSIX;
Where Module.pm is:
package Module;
use Fcntl;
my $a = O_APPEND;
1;
I get:
Subroutine main::O_APPEND redefined at /usr/lib/perl5/5.8.5/Exporter.pm
line 65.
at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/POSIX.pm line 19
But when I exchange the "use Fcntl" and "use POSIX" lines, or drop the
"use Module" line, the Error disappears.
What gives?
use Module;
use Fcntl;
use POSIX;
Where Module.pm is:
package Module;
use Fcntl;
my $a = O_APPEND;
1;
I get:
Subroutine main::O_APPEND redefined at /usr/lib/perl5/5.8.5/Exporter.pm
line 65.
at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/POSIX.pm line 19
But when I exchange the "use Fcntl" and "use POSIX" lines, or drop the
"use Module" line, the Error disappears.
What gives?