top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is the best perl Module to create pdf file?

+1 vote
410 views
What is the best perl Module to create pdf file?
posted Apr 22, 2015 by Amit Kumar Pandey

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes
 
Best answer

Three modules for creating PDF (no particular order)....
http://search.cpan.org/dist/PDF-API2/
http://search.cpan.org/dist/PDF-Create/
http://search.cpan.org/dist/PDF-Template/

PDF-API2 gets a rating on CPAN Ratings coming in with 4 out of 5 stars overall score.

answer Apr 23, 2015 by Salil Agrawal
Similar Questions
+2 votes

I have been writing a perl script that uses the Net::DNS modules. After banging my head, so to speak for many days, I asked on a DNS-related discussion list for help in figuring out why name server updates had started always failing with errors about not auth and BADKEY when I seem to recall that they had once worked. That was when someone told me that Net::DNS0.73 has a bug in it. The solution was to either downgrade to the previous version of Net:DNS or apply a release candidate which reportedly does not have the bug.

I didn't know for sure which version we had so I put a print statement in the code to cause it to print out the version number and sure enough, we have the buggy version.

Simply, what is the easiest way to downgrade so that we don't break anything else?

+1 vote

I have tried to install module PDF::FromHTML from cpan but not able to get it.
Please let me know any other module to do the same. please help

0 votes
sub myfunc {
 my @x=(1,2,3);
 return @x;
}

or

sub myfunc {
 my @x=(1,2,3);
 return [@x];
}

which one is the better way to return the list content? And if the method is an instance method?

+1 vote

I have a perl script test.pl. I want to create desktop shortcut. While I click on this shortcut icon it will run my perl script and keep the terminal open.

I have tried the command

ln -s test.pl ~/Desktop/abc

while I click on this abc Icon from my desktop. It run and same time the terminal exit. Could you please help here?

My requirement is:

I want to create desktop shortcut for particular perl program. While I click on this icon from desktop, it should run and keep the terminal open.

...