Return-Path: Delivered-To: apmail-perl-embperl-archive@www.apache.org Received: (qmail 37716 invoked from network); 24 Nov 2004 22:43:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 24 Nov 2004 22:43:45 -0000 Received: (qmail 86623 invoked by uid 500); 24 Nov 2004 22:43:45 -0000 Delivered-To: apmail-perl-embperl-archive@perl.apache.org Received: (qmail 86603 invoked by uid 500); 24 Nov 2004 22:43:44 -0000 Mailing-List: contact embperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list embperl@perl.apache.org Received: (qmail 86590 invoked by uid 99); 24 Nov 2004 22:43:44 -0000 X-ASF-Spam-Status: No, hits=0.3 required=10.0 tests=FORGED_RCVD_HELO,HTML_30_40,HTML_MESSAGE,HTML_TITLE_EMPTY X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from rumcajz.pcv.cz (HELO ns.sofist.cz) (81.0.228.129) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 24 Nov 2004 14:43:42 -0800 Received: (qmail 24341 invoked from network); 24 Nov 2004 22:44:06 -0000 Received: from localhost (127.0.0.1) by localhost with SMTP; 24 Nov 2004 22:44:06 -0000 Received: from ns.sofist.cz ([127.0.0.1]) by localhost (lfs [127.0.0.1]) (amavisd-new, port 10024) with SMTP id 22314-02 for ; Wed, 24 Nov 2004 23:44:03 +0100 (CET) Received: (qmail 24308 invoked from network); 24 Nov 2004 22:44:03 -0000 Received: from r3c210.chello.upc.cz (HELO ?192.168.1.2?) (213.220.194.210) by rumcajz.pcv.cz with SMTP; 24 Nov 2004 22:44:03 -0000 Message-ID: <41A50E91.4060606@robert.cz> Date: Wed, 24 Nov 2004 23:43:29 +0100 From: RobertCZ User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Gerald Richter CC: embperl@perl.apache.org Subject: Re: Two questions References: <20041124202339.E3A101122B7@lnx1.i.ecos.de> In-Reply-To: <20041124202339.E3A101122B7@lnx1.i.ecos.de> Content-Type: multipart/alternative; boundary="------------030909030407070504080705" X-Virus-Scanned: by amavisd-new at pcv.cz X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --------------030909030407070504080705 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Gerald Richter wrote: >>* I'm porting some old pages to Embperl2 and I have noticed >>the following difference: When ... img src=tst.gif ... is not quoted, >>Emperl2 generates ... img src tst.gif ... (without =) and >>breaks all images and links. I know it's incorrect not to >>escape parameter values in HML, but it use to work in Embperl >>1 and now it's just a nuissance. >>Could it be put back please? >> >> > >Go to Embperl/Syntax/HTML.pm line 364 and add . and / to the character >string. Does this solve your problem? > > Yes. Great hack. I'm going to clean up everithing in the future but I really apreciated you just made my upgrade much smoother >>* When _app.eo (Embperl_Object_App) is not found in current >>directory, Embperl doesn't seem to use _app.eo found in a >>directory above - I had impression it is supposed to work in >>the same way as _base.eo? Am I supposed to copy _app.eo all >>over the place or it's just a bug? >> >> > >It searches the same path as for other files. That is a little bit >different, as it by default only searches up to the directory where the base >template is found. If you want it to search it upper directories also you >have to give EMBPERL_STOP_DIR in your httpd.conf > > > Aha. Anyway, I use _app file only to load dictionaries in multilingual sites so now I can put it above all my DocumentRoot's (some place like /home/www) and replace it below only when really needed... Cool hack, it saves me copying it all over the place. ( I guess you meant Embperl_Object_Stopdir, but it looks just like a typo... ) 'Thanks a lot' x 2 - Robert --------------030909030407070504080705 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Gerald Richter wrote:
*  I'm porting some old pages to Embperl2 and I have noticed 
the following difference: When ... img src=tst.gif ... is not quoted,
Emperl2 generates ... img src tst.gif ... (without =) and 
breaks all images and links. I know it's incorrect not to 
escape parameter values in HML, but it use to work in Embperl 
1 and now it's just a nuissance. 
Could it be put back please?
    

Go to Embperl/Syntax/HTML.pm line 364 and add . and / to the character
string. Does this solve your problem?
  

Yes. Great hack. I'm going to clean up everithing in the future but I really apreciated you just made my upgrade much smoother

* When _app.eo (Embperl_Object_App) is not found in current 
directory, Embperl doesn't seem to use _app.eo found in a 
directory above - I had impression it is supposed to work in 
the same way as _base.eo? Am I supposed to copy _app.eo all 
over the place or it's just a bug?
    

It searches the same path as for other files. That is a little bit
different, as it by default only searches up to the directory where the base
template is found. If you want it to search it upper directories also you
have to give EMBPERL_STOP_DIR in your httpd.conf

  

Aha. Anyway, I use _app file only to load dictionaries in multilingual sites so now I can put it above all my DocumentRoot's (some place like /home/www) and replace it below only when really needed... Cool hack, it saves me copying it all over the place.

( I guess you meant Embperl_Object_Stopdir, but it looks just like a typo... )

'Thanks a lot' x 2

- Robert


--------------030909030407070504080705--