Hi
I have the following setup:
base.epl
[-
$sub = Execute ({object => 'include/epl/sub.epl'}, syntax => 'EmbperlBlocks');
$sub->dbconnect();
-]
--- HTML ---
[- Execute('*', $sub); -]
--- HTML ---
[- $sub->dbclose(); -]
sub.epl
[!
sub dbconnect {
my $db_name = "obelisk";
I just installed Perl 5.6.1 and Embperl 2.0b8 on a box to start
transitioning my 1.3.4 stuff over. Are single quotes no longer allowed
in html? I was getting a compilation error because of a select option
including a single quote.
St. Ann's Bay
To fix I either had to use the html escape $ or m
Gerald Richter wrote:
>
> The binary test outputs binary data and Perl interprets it as utf-8. Since
> this is not utf-8, but only some binary bytes, Perl complains about bad
> utf-8 character.
>
> I am not quite sure why Perl things that the data is utf-8 and how this
> affects chars above 0x7f
> Thanks for the reply. My application involves accessing the new Amazon
> XML/SOAP Web service. After much reading, I've decided to use SOAP instead
> of XSLT. It appears that by using SOAP I can avoid having to use an XSLT
> processor.
>
> Hopefully, you advice regading automaticallly executed X
> #52 binary.htm... ok
> #53 nesting.htm...
>
> [-1]Malformed UTF-8 character (overflow at 0xc41461c8, byte 0x09, after
> start byte 0xff) in pattern match (m//) at test.pl line 1128, line
> 2.
The binary test outputs binary data and Perl interprets it as utf-8. Since
this is not utf
>Has anyone had any luck getting Expect.pm to work with Embperl?
> What I am trying to do is execute a perl >script that uses expect.pm from
aweb-page.
>Apparently STDIN is not there so the script times out waiting for a prompt
from the
>device I am trying to log into. The perl script
> I'm using Perl 5.8, mod_perl 1.27, apache 1.3.26, Embperl 2.0b8
>
> I'm trying to export &get_logger in startup.pl ala:
>
> use Log::Log4perl qw(get_logger);
>
> use Exporter;
> our @ISA = qw(Exporter);
> our @EXPORT : unique = qw(&get_logger);
>
> I want to access &get_logger in an epl, but i
>
> 1) the sessions keys for the new sessions are twice as long as the
> old ones. generally, this is a good thing, but i am concerned that
> the old session data will not get read when the cookie is submitted.
> will the old sessions get read and reused, read and new ones created,
> totally ign
>
> well spotted. as far as i can tell, this feature wasn't working at
> all previously (i've duplicated that effect in some
> DBIx::Recordset-using code at least once myself).
>
Also your patch makes sense, it works for me with DBIx::Recordset 0.24
without problems
Anyway with the patch it
>
> I've make the fix to the Makefile.PL described above but I'm confused by
the
> reference to "adding PERL5LIB
> to the INC search path". How is this done, in what file?
>
before you run Makefile.PL type on the shell prompt:
export
PERL5LIB=/usr/local/lib/perl5/site_perl/5.8.0/i686-linux-threa
> http://xml.amazon.com/onca/xml2...";>Click on Link
>
> I'd like to have xml data display on my pages without requiring users to
> click on a URL.
>
When using Embperl 2, mod_perl 2 and Apache 2 you can use the output of a
subrequest as input for Embperl. This is done by utilizing the APache
11 matches
Mail list logo