in reply to Re: Converting .doc files to .pdf using perl
in thread Converting .doc files to .pdf using perl

It came up with the following error when I executed the above code.

system('unoconv', '-f', 'pdf', 'yourfile.doc') and die "Can't launch unoconv: $!";

  • Comment on Re^2: Converting .doc files to .pdf using perl

Replies are listed 'Best First'.
Re^3: Converting .doc files to .pdf using perl
by tospo (Hermit) on May 13, 2011 at 08:39 UTC
    You need to install unoconv first. Take a look here. That line of code is just a system call - I guess a little "tongue in cheek" because you asked for a pure Perl solution...