I've now investigated this.A command like this failed to include the required module:Weird, this really should work. Where is the library located? Note
pp -M XMLTV::Ask::Term -p -o xmltv.par grab/tk/tv_grab_uk
grab/tk/tv_grab_na grab/tk/tv_grab_dk
that for modules within the current directory, you have to explicitly
pass "pp -I ." to it. This may arguably be called a bug. Maybe.
I'm using Windows XP Home, and I'm running each of the following commands inside a perl script using the system command. I run the script using "perl script.pl" and the script contains a line like system "<command>"; where <command> is one of the following:
pp -M XMLTV::Ask::GDialog -p -o tmp/xmltv.par choose/tv_check/tv_check
pp -I lib/Ask/GDialog.pm -p -o tmp/xmltv.par choose/tv_check/tv_check
pp -I . -M XMLTV::Ask::GDialog -p -o tmp/xmltv.par choose/tv_check/tv_check
pp -I ./lib/ -M XMLTV::Ask::GDialog -p -o tmp/xmltv.par choose/tv_check/tv_check
The module is in C:\perl\site\5.8.0\lib\XMLTV\Ask\GDialog.pm and there's also a copy of the source of the module at ./lib/Ask/GDialog.pm.
None of the above commands produces a PAR which contains a file lib/XMLTV/Ask/GDialog.pm, as I expect.
Are any of the above commands the correct way to try and do this? If so, how can I help track down the problem?
Thanks very much,
Andy
