Subject: | fatal test.pl error |
Line 10 reads: use POE-Component-CD-Detect;
That's not valid Perl. You'll need to replace the "-" characters with "::".
3) eyrie:~/.cpan/build/POE-Component-CD-Detect-1.1# \
perl -Mstrict -w -Iblib/arch -Iblib/lib test.pl
1..1
Argument "CD" isn't numeric in subtraction (-) at test.pl line 10.
Argument "-Component" isn't numeric in subtraction (-) at test.pl line 10.
Argument "Detect" isn't numeric in subtraction (-) at test.pl line 10.
Bareword "CD" not allowed while "strict subs" in use at test.pl line 10.
Bareword "Detect" not allowed while "strict subs" in use at test.pl line 10.
Can't locate POE/0.pm in @INC (@INC contains: blib/arch blib/lib /home/troc/perl/poe /usr/local/perl-561-single/lib/i386-freebsd /usr/local/perl-561-single/lib /usr/local/perl-561-single/site-lib/i386-freebsd /usr/local/perl-561-single/site-lib /usr/local/perl-561-single/site-lib .) at (eval 32) line 1.
BEGIN failed--compilation aborted at (eval 32) line 1.
could not import qw(0) at test.pl line 10
BEGIN failed--compilation aborted at test.pl line 10.
-- Rocco Caputo / troc@pobox.com / poe.perl.org / poe.sf.net