Return-Path: Delivered-To: apmail-perl-embperl-archive@www.apache.org Received: (qmail 83349 invoked from network); 11 Mar 2005 19:47:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 11 Mar 2005 19:47:18 -0000 Received: (qmail 48205 invoked by uid 500); 11 Mar 2005 19:47:17 -0000 Delivered-To: apmail-perl-embperl-archive@perl.apache.org Received: (qmail 47975 invoked by uid 500); 11 Mar 2005 19:47:17 -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 47962 invoked by uid 99); 11 Mar 2005 19:47:17 -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; Fri, 11 Mar 2005 11:47:15 -0800 Received: from lnx1.i.ecos.de (unknown [194.95.226.11]) by saturn.ecos.de (Postfix) with ESMTP id 5BBBDD8948; Fri, 11 Mar 2005 20:47:12 +0100 (MET) Received: from wingr2 (unknown [10.11.12.250]) by lnx1.i.ecos.de (Postfix) with ESMTP id BFAB02060A7; Fri, 11 Mar 2005 20:47:12 +0100 (CET) From: "Gerald Richter" To: "'Daniel'" , Subject: RE: $escmode Date: Fri, 11 Mar 2005 20:47:12 +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 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Thread-Index: AcUmcvDrFUAHepjfTzeEUHlQFx885wAAAkHg In-Reply-To: <20050311160502.GB66488@nero.netwalk.org> Message-Id: <20050311194712.BFAB02060A7@lnx1.i.ecos.de> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, > > 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. > Looks like you are using Embperl 1.3. In this case you have set set optRawInput in EMBPERL_OPTIONS (this is the default in Embperl 2) Gerald --------------------------------------------------------------------- To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org For additional commands, e-mail: embperl-help@perl.apache.org