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
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.