embperl

can't add a base64-encoded image to vCard

徘徊边缘 提交于 2019-12-13 14:28:28
问题 I've successfully used Perl (via Embperl) to create a dynamically-generated vCard for employees, populating all the fields except for the photo. I can't get that working no matter what. (The code to generate a photo-less vCard works fine.) According to the information I can find online, the image must be base64-encoded in the vCard itself. The vCard spec (I'm using 3.0) supports URL-linked images, but my iPhone won't link to them that way. So it's base64 or nothing. Now, I know the base64

perl / embperl — IPC::Open3

穿精又带淫゛_ 提交于 2019-12-12 18:50:29
问题 I have a sample program in 2 formats perl & embperl The perl version works as a CGI but the embperl version does not work. Any suggestions or pointers to solutions would be appreciated OS: Linux version 2.6.35.6-48.fc14.i686.PAE (...) (gcc version 4.5.1 20100924 (Red Hat 4.5.1-4) (GCC) ) #1 SMP Fri Oct 22 15:27:53 UTC 2010 NOTE: I originally posted this question to perlmonks [x] and the embperl mailing list [x] but didn't get a solution. perl working script #!/usr/bin/perl use warnings; use

embperl - Using IPC::Open3 to call wkhtmltopdf. STDIN Not working

做~自己de王妃 提交于 2019-12-11 19:06:53
问题 From within embperl, I am trying to call wkhtmltopdf with the IPC::Open3 module. I get output (thanks to ikegami ) from wkhtmltopdf but no input is going to wkhtmltopdf. This is related to this question: perl / embperl — IPC::Open3 Here is the code: [- use warnings; use strict; use IPC::Open3; use POSIX; use Symbol; my $cmd = '/usr/local/bin/wkhtmltopdf - -'; my $pdf = ''; my $string = '<!DOCTYPE html> <html> <head> <title>Hello World</title> </head> <body> Hello World!!! </body> </html>'; my

Is there any performance comparison between Perl web frameworks?

ぃ、小莉子 提交于 2019-12-03 16:19:07
问题 I have seen mentions (which sounded like unsubstantiated opinions, and dated ones at that) that Embperl is the fastest Perl web framework. I was wondering if there's a consensus on the relative speed of the major stable Perl web frameworks, or ideally, some sort of fact-based performance comparisons between implementations of the same sample webapps, or individual functionalities (e.g. session handling or form data processing), etc...? UPDATE : This question is specifically about the speed