BTW. Which Perl version do you use ?
> hi,
> >
> > $ENV{EMBPERL_SESSION_CLASSES} = "Oracle Null";
> > $ENV{EMBPERL_SESSION_ARGS} = "DataSource=dbi:Oracle:conn_info
UserName=xyz
> > Password=abc Commit=1";
> >
>
> This look's ok to me
>
> >
> > i am guessing that my problem is with the value f
On Thu, Dec 21, 2000 at 05:58:46AM +0100, Gerald Richter wrote:
> > another approach, that seems to be what people intuitively want is to
> > have each file inherit from other copies of itself further up the
> > search path. sort of like an implicit [$ uses "../$thisfile" $].
>
> I have considere
hi,
>
> $ENV{EMBPERL_SESSION_CLASSES} = "Oracle Null";
> $ENV{EMBPERL_SESSION_ARGS} = "DataSource=dbi:Oracle:conn_info UserName=xyz
> Password=abc Commit=1";
>
This look's ok to me
>
> i am guessing that my problem is with the value for session_classes.
This seems ok to me
>
> the behavior
> an idea i've been considering was to have some sort of:
>
> [$ uses 'subs.epl' $]
>
> command that did:
>
> compile $epl;
> $pkg = package for $epl;
> push @{caller.'::ISA'}, $pkg;
>
Yes, I agree that would be really usefull.
>
> another approach, that seems to be what people intuitively
Neil,
> Gerald, if you like I could write some more expanded examples and online
> documentation for building websites using EmbperlObject
that would be great! I didn't came around to write much docs on
EmbperlObject yet and I think it would make EmbperlObject much more usefull,
if it is explain
hi,
i have been trying to setup embedperl (v1.3) with Apache::Session (v1.53).
i have written test scripts to ensure that Session.pm works using Oracle.
i have successfully stored serialized session information using oracle
with these scripts.
i have also successfully gotten file based
Gerald, you hit the nail on the head this time. This is exactly what I
was talking about. I apologise if I sounded a bit frustrated last email
- I've really been thrown by this thing over the last few days. It's
make me question everything I was doing, and after 8 months that's quite
a lot of code
> the other solution would be to change it to
>
> [- Execute ('subs.html#NEW', \$object) -]
Gerald, I should have spotted that myself - this small example works
now. I will play with it for a bit and see how it looks in my (somewhat
larger) projects... I'll let you know if any more problems/idea
Gerald, if you like I could write some more expanded examples and online
documentation for building websites using EmbperlObject (once I have
these new techniques firmly under my belt). I realize I am not exactly
an expert in terms of Perl but going through the issues as a relative
novice can give
an idea i've been considering was to have some sort of:
[$ uses 'subs.epl' $]
command that did:
compile $epl;
$pkg = package for $epl;
push @{caller.'::ISA'}, $pkg;
that way you could selectively insert other embperl files into your
inheritance path, and each individual sub can be overridd
> [- Execute ({inputfile => 'subs.html#NEW', param => \@p}) -]
Oops, sorry my fault, must be:
[- Execute ({inputfile => 'subs.html', sub => 'NEW', param => \@p}) -]
the 'subs.html#NEW' works only in the short syntax, i.e.
[- Execute ('subs.html#NEW') -]
the other solution would be to change i
>
> Gerald, I hesitate to continue on this because it seems like I keep
> asking the same question. But really, you didn't answer my previous
> query so I have to try again.
Don't hestitate to ask again, if I understand you wrong! Maybe it wasn't
obvious to me what you ment, maybe I simply wasn't
Gerald Richter wrote:
>
> Neil,
>
> I think what you need here is to use Perl methods instead of plain
> functions. EmbperlObject bless's the Embperl Request Object into the package
> of the current calling page, so you are able to call the correct subroutine
> by using the method call syntax. (
13 matches
Mail list logo