--- robert johnson wrote:
Hi, i really need some help.
dangit. right after i cross-posted this, i solved my own problem.
for some reason, with the ActiveState PDK requires that all use statements be
placed at the very top of the program. I had put them later in the program.
once i moved them to the top, it built correctly.
now seems kind of silly, but whatever.
and sorry for the cross-posting. i was getting panicky.
Ive been using Perl for a while, but am new to the ActiveState Perl Dev Kit
environment. my perl scripts will not build into executables correctly, when
I
have use module. teh perl dev kit claims that it cant find any perl
modules in my @INC paths, and that the @INC is empty.
I definitely have the modules installed in the right place, and these same
scripts work correctly when i run them from command line.
The PerlNET GUI's Main window shows that my module search paths do contain
(C:\Perl\lib) and (C:\Perl\site\lib) which is where my CPAN modules are ...
Ive even added these paths to my PERL5LIB environment variable. I've also
tried putting a hard coded push (@INC) line in my code, as well as an
explicit require... still no help.
here is the output of my build attempts. Thanks for any help anyone can
provide me.
plc --shared public --norunlib --exe serial.exe J:\dl30\serial.pl
PerlNET 6.0.0 build 117102
Copyright (C) 1998-2004 ActiveState Corp. All rights reserved.
ActiveState is a division of Sophos Plc.
Commercial license for my boss at my boss' email address
Created 'serial.exe' [Test it]
Target size: 532 KB same as last time
[DONE]
.\serial.exe
Can't locate win32/serialport.pm in @INC (@INC contains: .) at serial.pl line
195.
BEGIN failed--compilation aborted at serial.pl line 195.
[DONE]
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
__
Yahoo! Mail Mobile
Take Yahoo! Mail with you! Check email on your mobile phone.
http://mobile.yahoo.com/learn/mail
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs