Cybershmuck
Technical User
- Jan 21, 2005
- 21
Hi all,
I need to add a module called Thread::Queue into my perl script to form an executable file.
I've already included it in my sourcefile.pl through the:
use Thread::Queue;
statement.
I tried running the command line:
C:\Perl\bin>pp -M Thread::Queue -o output.exe sourcefile.pl
I then ran the command line:
output.exe
but I got the following error:
"Can't locate attributes.pm in @INC (@INC contains: CODE(0xc3b1d0) CODE(0xd2abbc)
.) at C:/Perl/lib/Thread/Queue.pm line 69.
BEGIN failed--compilation aborted at C:/Perl/lib/Thread/Queue.pm line 69."
However, if I just run the stand alone perl script sourcefile.pl without creating an executable, then the file works fine.
What am I doing wrong?
Thanks in advance
I need to add a module called Thread::Queue into my perl script to form an executable file.
I've already included it in my sourcefile.pl through the:
use Thread::Queue;
statement.
I tried running the command line:
C:\Perl\bin>pp -M Thread::Queue -o output.exe sourcefile.pl
I then ran the command line:
output.exe
but I got the following error:
"Can't locate attributes.pm in @INC (@INC contains: CODE(0xc3b1d0) CODE(0xd2abbc)
.) at C:/Perl/lib/Thread/Queue.pm line 69.
BEGIN failed--compilation aborted at C:/Perl/lib/Thread/Queue.pm line 69."
However, if I just run the stand alone perl script sourcefile.pl without creating an executable, then the file works fine.
What am I doing wrong?
Thanks in advance