Hi
Can you minimise the code sample so that monks can just attack the issue you are facing ?
Your code above is not readily executable on my m/c and when i try to install PDFLIB cannot be installed without pdflif9 software.
Are you sure this is not just a relative paths issue
I hope you are aware of perl debug found in perldoc
perldebtut or
perldebug.
- run your program in perl -d program.pl (type h for command menu)
- set a breakpoint at line no. 44 in the case of this script using the command $>b 44
- continye execution upto break using command $>c
- step into the set_option method and see why its dieing
If you make your code sample compact, it will be better i feel
update
a suggestion
try even placing the missing file in current directory .
I see you are using "." for determining current directory.
check
FindBin and determine your script path using $FindBin::Bin .
The temporal difficulty with perl is u need to know C well to know the awesome.else u just keep *using* it and writing inefficient code