Return-Path: Delivered-To: apmail-perl-embperl-archive@www.apache.org Received: (qmail 44826 invoked from network); 12 Mar 2005 13:46:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 12 Mar 2005 13:46:15 -0000 Received: (qmail 82116 invoked by uid 500); 12 Mar 2005 13:46:14 -0000 Delivered-To: apmail-perl-embperl-archive@perl.apache.org Received: (qmail 82089 invoked by uid 500); 12 Mar 2005 13:46:13 -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 82075 invoked by uid 99); 12 Mar 2005 13:46:13 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from c10.shuttle.de (HELO saturn.ecos.de) (194.95.226.10) by apache.org (qpsmtpd/0.28) with ESMTP; Sat, 12 Mar 2005 05:46:12 -0800 Received: from lnx1.i.ecos.de (unknown [194.95.226.11]) by saturn.ecos.de (Postfix) with ESMTP id AC8A7D88F8; Sat, 12 Mar 2005 14:46:08 +0100 (MET) Received: from wingr2 (unknown [10.11.12.250]) by lnx1.i.ecos.de (Postfix) with ESMTP id E0D7559279; Sat, 12 Mar 2005 14:46:08 +0100 (CET) From: "Gerald Richter" To: "'Daniel'" , "'Luiz Fernando B. Ribeiro'" Cc: Subject: RE: $escmode Date: Sat, 12 Mar 2005 14:46:07 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 In-Reply-To: <20050311210039.GB67979@nero.netwalk.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Thread-Index: AcUmfWglgsnvgXQsRgWerZLE7kqXzQAjEt1g Message-Id: <20050312134608.E0D7559279@lnx1.i.ecos.de> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N > > gotcha. thanks guys. > > It would be useful if the docs on > http://perl.apache.org/embperl/pod/doc/Embperl.-page-5-.htm#sect_20 > > mentioned this (i checked for the old documentation, I don't > see it there either). > I have added a note to the docs in the CVS version. Will be on the website soon Gerald > db > > On Fri, Mar 11, 2005 at 05:13:11PM -0300, Luiz Fernando B. > Ribeiro wrote: > > On Fri, 11 Mar 2005 08:05:02 -0800, Daniel > wrote: > > > > > > > >Hi all, > > > > > >I seem to have some problems when it comes to $escmode, and I'm > > >probably not understanding this variable correctly. > > > > > >{ local $escmode=0; print OUT "sometext"; } > > > > > >I thought the above code would actually print sometext in bold, > > >however, no matter the escape mode, I seem to get the tags > stripped > > >out. How can I preserve the tags? I had it working in one > instance, > > >but I'm doing something like > > > > > >$str = "<"; $str .= "b>"; .. etc for it to work. > > > > > >thanks, > > > > > >Daniel > > > > Inside [- -] tags you will have to escape \< the openning > brackects of > > the html tags or set optRawInput as Gerald sugested. > > > > Use $escmode for things like these: > > [! > > sub my_select { > > return qq|\|; } !] > > > > > > ... > >

Test: [+ local $escmode=0; my_select() +]

> > > > > > -- > > Luiz Fernando B. Ribeiro > > Engenho Solu??es para a Internet > > +55 11 6959-7610 > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org > > For additional commands, e-mail: embperl-help@perl.apache.org > > --------------------------------------------------------------------- > To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org > For additional commands, e-mail: embperl-help@perl.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org For additional commands, e-mail: embperl-help@perl.apache.org