in reply to PP packaging Mechanize problem

Thanks for the help...I commented the 2 lines and now i can package it. But the packaged script is not working. it stops at :
$agent->use_plugin('JavaScript');
So running the EXE file of the following script outputs Test1, and it just stops with no errors.
#!/usr/bin/perl use strict; use WWW::Mechanize; use WWW::Mechanize::Plugin::JavaScript; use WWW::Mechanize::Plugin::DOM; use HTTP::Cookies; use IO::Handle; open OUTPUT, '>', "output.txt" or die $!; open ERROR, '>', "error.txt" or die $!; STDOUT->fdopen( \*OUTPUT, 'w' ) or die $!; STDERR->fdopen( \*ERROR, 'w' ) or die $!; my $agent = WWW::Mechanize->new(); print "Test1\n"; $agent->use_plugin('JavaScript'); print "Test2\n"; exit;
The perl script works fine, but the exe file doesn't so i'm guessing the problem is with packaging dependencies for the javascript support ?

Then again it does not give any error, any ideas on what could be causing this ? (I am using perl 5.8.8)