http://qs321.pair.com?node_id=1034122


in reply to Using PDF::WebKit

Are your @INC paths and environment variables at the command line, the same as through another script? Try putting this at the top of your script (before using Win32::Process::Create) and run in both scenarios:

use strict; use warnings; $|=1; # Buffering BEGIN { print "#### Environment Variables ####\n"; foreach (keys(%ENV)) { print "$_ = $ENV{$_}\n"; } print "#### \@INC ####\n"; foreach(@INC) { print "$_\n"; } die "#### And there you go. Your info should be displayed below: +####\n"; }

Anne