RE: magic tables in Embperl 2.1.0

2005-11-25 Thread Gerald Richter
Hi, > > I have a problem concerning magic tables. In earlier days, I > remeber that the following Embedded Perl code > > [- @ary = ( [a,b], [c,d], [e,f] ) -] > > >Head1Head2 >[+ $ary[$row][$col] +] > > Embperl currently does not supp

magic tables in Embperl 2.1.0

2005-11-25 Thread Harald Weidner
Hello, I have a problem concerning magic tables. In earlier days, I remeber that the following Embedded Perl code [- @ary = ( [a,b], [c,d], [e,f] ) -] Head1Head2 [+ $ary[$row][$col] +] the output looked like this: Head1 Head2 a b c d e f However, with

Re: Session Management Magic

2004-06-09 Thread Angus Lees
At Fri, 28 May 2004 15:51:43 -0400, Farouk Khawaja wrote: > OK Folks, I realize that sessions management is 'magic' but I really > want to know how it works. > | id| varchar(32) | | PRI | | | > | a_session | text| YES | | NULL|

Re: Session Management Magic

2004-06-09 Thread Gerald Richter
Title: Session Management Magic > When I load IN.html and then OUT.html a second time, I get the value> for 'surName', but I'm not sure where it's coming from?  Can anyone> explain?  Not sure if I understand right what your problem is? Is it that surname is lo

Session Management Magic

2004-05-28 Thread Farouk Khawaja
Title: Session Management Magic OK Folks,  I realize that sessions management is 'magic' but I really want to know how it works. First some background I've got session working with mySQL.  I can see the cookie in my browser and it matches up with a record in the sessions t

Re: Magic

2003-08-14 Thread Gerald Richter
> > Now could someone please explain to me how it is that *'s processForm > method appropriately gets invoked when I call $this->processForm, > even though I call $this->processForm BEFORE I call Execute('*')? > > Because the Embperl request object ($this in your case) is setup by Embperl::Object

Magic

2003-08-14 Thread Kee Hinckley
This isn't a bug. HTML::Embperl is doing exactly what I want, and maybe my problem is simply too little sleep. But could someone please explain to me *how* it's managing to do this? I have an HTML::Embperl Template. It does this (in greatly abbreviated form). $this = shift; Execute({

Re: magic for variables to link with the C vars where perl is embedded into

2002-05-16 Thread Cory C. Albrecht
On 16 May 2002 at 7:59, Gerald Richter wrote: > Hi, > > this seems not the best list for this sort of questions, it's a list > about Embperl. > > Anyway a short answer: > > Yes, you have to set the magic on all elements of hash/array. There is > no simp

Re: magic for variables to link with the C vars where perl is embedded into

2002-05-15 Thread Gerald Richter
Hi, this seems not the best list for this sort of questions, it's a list about Embperl. Anyway a short answer: Yes, you have to set the magic on all elements of hash/array. There is no simple way to do it (at least not in 5.6.1) to get your C code called directly. There is some w

magic for variables to link with the C vars where perl is embedded into

2002-05-11 Thread Cory C. Albrecht
Hello All, I'm writing an app which uses perl as it's scripting langauge and I've just gotten around to using magic to link the C variables for my app's preferences to variables in the embedded perl so scripts can change the preferences. Magic for SVs turned out to be sim