I posted the specific code above in another reply.
Many thanks for introducing the debugging steps. I'm a perl beginner and was completely unaware about this.
Surely I'll use this debugging and will try to figure out what could be the issue stopping my code.
I fixed the missing file issue by placing it in my current directory. The problem with the pdflib.upr was fixed by then. Now I'm getting an exception, which doesn't get written out to the logfile or console.
Thanks
Comment on Re^2: Problem with PDFLIB barcode generation
Thats great news.
Try using the capture method in module Capture::Tiny to capture errors and print it , if you feel the control is going outside the perl script. (pdflib9 might be causing an issue externally).
FYI your error message(if any) from perl command execution will be stored in $! variable which u can print.
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