in reply to converting doc to pdf
- First, you don't reinvent the wheel (someone has figured a solution and was generous enough to contribute it to CPAN), so wizard-craft and witch-craft for that matter are to be based on using these magic boxes to your heart-content and imagination limits.
- Second,OSOM (Out of Sight Out of Mind) quality, the burden of implementing mutli-step algorithms has been uplifted since many modules provide abstractions to tasks that could otherwise be lengthy to write (in terms of time and effort), think about writing a taxonomy tree algorithm for instance, or risky to write (computation inadvertent inaccuracies, buggy and error-prone) so having a module that has been already tested and used by many is a wiser option.
Not to deviate from the topic, in CPAN there are many PDF modules to enable manipulation of PDF files to different levels of complexity and they're robust and more appropriate to pick instead of thinking of writing your own code. If you have issues with installing modules you can read at the Tutorials the guides for Installing Modules ...On another note, there are websites that do format conversions, however, they put a cap on the maximum file size you can submit, the output quality or the number of submission you're allowed, I find http://www.pdfonline.com/ to be very good and reliable.
David R. Gergen said "We know that second terms have historically been marred by hubris and by scandal." and I am a two y.o. monk today :D, June,12th, 2011...