>
>Is it safe to call SetupSession even if the session may already
>have been setup?
>
Embperl doesn't check if the session is already setup. Normaly that doesn't
matter, but a second setup will reset the dirty flag of Apache::Session, so
if you have change any data before and don't change any dat
>
>I have a problem (who doesn't, huh). I've got 2 servers, one running
>FreeBSD with Apache 1.3.14 and Embperl 1.3.0, other Linux with Apache
>1.3.19 and same Embperl, only mod_perl is somewhat newer. Problem is, that
>when i use $udat from FreeBSD it works perfectly and with all clients and
>os'
>[21384]Reading /usr/local/apache/htdocs/iportal/test1.html as input using
PerlIO ...
>[21384]SES: Received Cookie ID: 49c784ae7385ebaf7abde4a203f3bac8 New
Cookie ID: 43903564a7b36f84b785a0882afb3974 Session data is NOT modified
The session id is received by test1.html, but it generate a new
>I'm use my module which work with DBI.
>I exproted functions in the header this module.
>Second page which I make Exec({inputfile => "email.epl"}) don't see
>functions from my module but this functions I use in first file which
>make Exec.
>I try include my module in both epl files and divide.
>
>For a second there I thought I had joined the Monster.com mailing list. :)
>
It's ok to have job offers here on the list (as long as they are Embperl
related), but the answer should be by private email
GErald
-
To unsubscrib
>Changes in a hash (or any other list-type) in %udat are not
>saved because mod_perl (I think it was mod_perl here, not
>Embperl) does not see the change.
It's Apache::Session
> I suppose it only checks values
>directly in %udat and therefore sees the same reference to your
>anonymous hashtable
>Yeah, I think I shouldn't put my sub-functions at the bottom.
Yes, that's because EMbperl 1.x compiles _and_ executes the code block by
block, so it doesn't see the sub definition at the end when it for the first
time execute the function call, because the sub didn't have compiled at this
time.
On Wed, Apr 04, 2001 at 11:35:58AM -0700, Andy Lim wrote:
> Yeah, I think I shouldn't put my sub-functions at the bottom.
> Oh, there IS another solution.
> Using [* *] instead [- -] or [! !] solves this problem.
There are indeed some issues with [* *] which will be solved in
Embperl 2. I managed
On 04 April 2001, Andy Lim <[EMAIL PROTECTED]> wrote:
> I wonder how other embperl users define subfunctions in the same HTML page
> or Are they all define sub functions in other files
I tend to just use the Embperl pages for displaying the results of
things done in separate modules, most of
Thank you Andre.
Yeah, I think I shouldn't put my sub-functions at the bottom.
Oh, there IS another solution.
Using [* *] instead [- -] or [! !] solves this problem.
But I am somewhat reluctant to use this because they says it's experimental
and they didn't say to use it to define functions anywh
___cliff rayman___ wrote:
> the tied %udat does a shallow check to see if anything
> needs to be stored. i think most of us who use it do something
> like this in code that changes %udat:
> $udat:{TIME}=time;
s/://
>
>
> this guarantees that the shallow check will be successful and
> that the
On Wed, Apr 04, 2001 at 10:34:26AM -0700, Andy Lim wrote:
> The weired thing is, if I define this sub function at the top of this HTML
> page, it generates no error at all. It means I get into trouble when I
> define sub-functions at the bottom of each web pages.
> I also tried embperl's meta comm
the tied %udat does a shallow check to see if anything
needs to be stored. i think most of us who use it do something
like this in code that changes %udat:
$udat:{TIME}=time;
this guarantees that the shallow check will be successful and
that the tied %udat is stored in the session.
you can invo
On Wed, Apr 04, 2001 at 07:15:03PM +0200, Stéphane Peiry wrote:
> [-
>$hold{thing} = "Hello";
>$udat{some} = {%hold};
> -]
>
> [+ $udat{some}{thing} +]
>
> (I use %hold because.. I cannot initialize directly $udat as
> $udat{some}{thing} = "Hello" .. am I missing something..?)
That pa
I've been encountered with the "famous" random undefined sub error.
I learned how to fix this error when I call a sub functions from other
library files but, look at below test page.
I am having problem in calling subfunctions(AddNumber) defined in the same
HTML page.
The weired thing is, if I def
Hi Everybody,
Are there any known problems with $udat initialisation?
As example I have the file 'one.html' which contains the following
(Embperl code):
[-
$hold{thing} = "Hello";
$udat{some} = {%hold};
-]
[+ $udat{some}{thing} +]
(I use %hold because.. I cannot initialize directly $u
16 matches
Mail list logo