Hello,
I am importing an EmbPerl file into another (foo.epl) via
[- Execute ({ inputfile => 'bar.epl', import=>1 }) -]
foo.epl contains a set of subroutines. The main sub in bar.epl is called in
foo.epl. This sub then calls other subs within bar.epl
The problem I am having is passing an reading
> Thanks for the reply Gerald. I don't know how to get code via CVS
Here are a couple of ways you can choose from:
http://perl.apache.org/embperl/CVS.pod.1.html
> so I will wait for the release. I hope it's released soon. I'm in the
> midst of a project! Do you have an estimate of how soon
>
> by perl -e "print scalar(localtime)":
>Fri Aug 18 20:44:40 2000
> in win98:
>Fri Aug 18 8:37:27 PM (Time zone GMT +8:00)
> in Embperl page:
>Fri Aug 18 12:44:41 2000
>
12 -> 20 are the time zone difference (+8h), so it looks like the time zone
isn't set under mod_perl (or you are
by perl -e "print scalar(localtime)":
Fri Aug 18 20:44:40 2000
in win98:
Fri Aug 18 8:37:27 PM (Time zone GMT +8:00)
in Embperl page:
Fri Aug 18 12:44:41 2000
sherwin
[EMAIL PROTECTED] writes:
>
>
>> it displays like this:
>>
>> Fri Aug 18 10:00:37 2000
>>
>> and looking at window
> it displays like this:
>
> Fri Aug 18 10:00:37 2000
>
> and looking at windows 98 clock:
>
> Fri Aug 18 5:53:30 PM
>
> What does this mean?
>
What does
perl -e "print scalar(localtime)"
say?
Same as the win 98 clock or same as the clock in the Embperl page?
Gerald
> [EMAIL PROTECTE
it displays like this:
Fri Aug 18 10:00:37 2000
and looking at windows 98 clock:
Fri Aug 18 5:53:30 PM
What does this mean?
[EMAIL PROTECTED] writes:
>> Help please. I'm displaying the current date in embperl.
>> Why is it that sometimes I get a 1day lag date (even when clicking
>> refresh)
Hi,
>
> Using EmbperlObject I need a reference to the requested file to do
> something like this in EMBPERL_OBJECT_BASE:
>
> $mtime = (stat($filename))[9]
>
> I tried using the request object from mod_perl ($r->filename) but this is
> a reference to EMBPERL_OBJECT_BASE. Does you have a simple solu
Hi,
Using EmbperlObject I need a reference to the requested file to do
something like this in EMBPERL_OBJECT_BASE:
$mtime = (stat($filename))[9]
I tried using the request object from mod_perl ($r->filename) but this is
a reference to EMBPERL_OBJECT_BASE. Does you have a simple solution?
Hi,
>
> I face a problem with closing a session using Embedperl session module.
>
> I'm using the FileStore mecanism (I couldn't manage to make it work
> properly with DBI/postgres)
Postgress maybe work better with Apache::Session 1.52 which is supported in
the next Embperl release (or in the CV
> Help please. I'm displaying the current date in embperl.
> Why is it that sometimes I get a 1day lag date (even when clicking
> refresh)?
>
> excerpt from new.epl:
>
>
>
>
>
>[-
> ($curmday, $curmon, $curyear) = (localtime(time()))[3, 4, 5];
> $curyear += 1900; $curmon +=
>
> I need a custom error screen under embperl. I read in the docs that
> you can set an option that will enable you to use mod_perl's custom
> error screen features but I'm rather clueless about mod_perl and
> doing all this.
>
> Does anyone have an example of this?
>
SetHandler perl-script
P
> Looks like this might help:
>
yes, it does
> #3 0x401f474a in EMBPERL_mgGetoptDisableFormData (pSV=0x80fe0f0,
mg=0x8186508)
> at epmain.c:335
That's a callback where Embperl is called from Perl. With USE_THREADS in
Perl 5.6 Embperl gets other parameters passed then without. That's the
reason
Hi,
I face a problem with closing a session using Embedperl session module.
I'm using the FileStore mecanism (I couldn't manage to make it work
properly with DBI/postgres) and after using "tied (%udat)->delete;" in
the logout sub then try to login again, I get the same _session_id.
emptying %u
Help please. I'm displaying the current date in embperl.
Why is it that sometimes I get a 1day lag date (even when clicking
refresh)?
excerpt from new.epl:
[-
($curmday, $curmon, $curyear) = (localtime(time()))[3, 4, 5];
$curyear += 1900; $curmon += 1;
$fdat{date} = "$
14 matches
Mail list logo