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