Embperl 1.3b6: weird error

2000-10-23 Thread Ilia Lobsanov
All of a sudden, my error log is showing this: [Tue Oct 24 00:37:55 2000] [error] [Tue Oct 24 00:37:55 2000] 14020 null ERR: Can' t locate object method "CurrPackage" via package "HTML::Embperl::DOC::_8" at /usr/l ib/perl5/site_perl/5.005/i386-linux/HTML/Embperl.pm line 866. [Tue Oct 24 00:38:2

Re: Session error

2000-10-23 Thread Gerald Richter
Hi, > > I updated Apache::Session from 1.0x to 1.53, changed the config files > and now get errors: > > Can't locate object method "close" via package > "Apache::Session::Store::MySQL" at > /usr/local/lib/perl5/site_perl/5.6.0/i686-linux/HTML/Embperl/Session.pm > line 370. > The message is correc

Re: Embperl parser probs: nested strings w/ closing block tags

2000-10-23 Thread Gerald Richter
Hi all, > > I'd propose this as a bug. It's not a bug, it's a decision I have made to keep the Parser simple and therefore fast! Normaly -] or +] will very rarely occur inside Perl code so this isn't a problem. Your case is one where it happens. > > but either of the next two blocks *do* fail: >

Re: Formatting a variable?

2000-10-23 Thread Angus Lees
On Tue, Oct 24, 2000 at 01:17:06PM +1000, Simon Burns wrote: > How do you format a variable to delete the first character of the variable > using mod perl? > I am trying to delete a ($) dollar sign from a price that I have in a > varibale called $price. basic perl stuff, see perlre(1p) or a perl

Re: Session error

2000-10-23 Thread Angus Lees
i noticed that you have to load Apache::Session before HTML::Embperl, else it doesn't find the right session stuff (Embperl.pm doesn't require Apache::Session itself). i don't remember what the symptoms turned out to be, so this mightn't have anything to do with your problem ;) (its more of a bug

Formatting a variable?

2000-10-23 Thread Simon Burns
Dear Sir/Madam How do you format a variable to delete the first character of the variable using mod perl? I am trying to delete a ($) dollar sign from a price that I have in a varibale called $price. I thank you for any help that you can provide. Simon Burns --

Session error

2000-10-23 Thread Alvar Freude
Hi, I updated Apache::Session from 1.0x to 1.53, changed the config files and now get errors: Can't locate object method "close" via package "Apache::Session::Store::MySQL" at /usr/local/lib/perl5/site_perl/5.6.0/i686-linux/HTML/Embperl/Session.pm line 370. I am using embperl 1.3b6 (I hope so

RE: Embperl parser probs: nested strings w/ closing block tags

2000-10-23 Thread Andrew O'Brien
On Mon, 23 Oct 2000, Ilia Lobsanov wrote: > Andrew, > > Have you tried escaping the "[" using "[["? > > i.e.: > Execute ({ input => \'[[- $param[0] = [1,2,3]; -] Done some > substitutions on param0 ... ', Unfortunately, no, this doesn't help. The problem is the parsing of the closing

RE: GET is ok, POST is not working

2000-10-23 Thread Ilia Lobsanov
James, Are you sure you don't have CGI.pm or something in the middle, eating the form data? Do you have any EMBPERL_OPTIONS set? ilia. > -Original Message- > From: James Lee [mailto:[EMAIL PROTECTED]] > Sent: Monday, October 23, 2000 10:24 AM > To: [EMAIL PROTECTED] > Subject: GET is

GET is ok, POST is not working

2000-10-23 Thread James Lee
I am new to embperl and I am having a problem that I can't seem to find an answer to. I am hoping someone here can help. I am trying to post data to an empbperl program. Using method="get" works fine, but method="post" fails. Here is an example. First the form in a.html: Nam

RE: Embperl parser probs: nested strings w/ closing block tags

2000-10-23 Thread Ilia Lobsanov
Andrew, Have you tried escaping the "[" using "[["? i.e.: Execute ({ input => \'[[- $param[0] = [1,2,3]; -] Done some substitutions on param0 ... ', Hope this helps. ilia. > -Original Message- > From: Andrew O'Brien [mailto:[EMAIL PROTECTED]] > Sent: Monday, October 23, 2

Embperl parser probs: nested strings w/ closing block tags

2000-10-23 Thread Andrew O'Brien
Hi all, I've noticed a problem with the way Embperl parses certain strings that contain "-]" or "+]" when passed to Execute using the input hash element. I haven't tested with other tag types but I'm assuming they work (or don't in this case) similarly. It seems that Embperl treats a closing b