Skip Menu |
 

This queue is for tickets about the Expect CPAN distribution.

Report information
The Basics
Id: 61395
Status: resolved
Priority: 0/
Queue: Expect

People
Owner: Nobody in particular
Requestors: Heinz.Knutzen [...] dataport.de
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



From Heinz.Knutzen [...] dataport.de Thu Sep 16 09: 12:22 2010
X-Originalarrivaltime: 16 Sep 2010 13:15:06.0011 (UTC) FILETIME=[2E0116B0:01CB55A1]
MIME-Version: 1.0
X-Spam-Status: No, score=-10.599 tagged_above=-99.9 required=10 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8] autolearn=ham
Content-Class: urn:content-classes:message
X-Spam-Flag: NO
X-Virus-Checked: Checked by ClamAV on 16.mx.develooper.com
Message-ID: <6FC4FABB58655144A7EF4BBB19D90B8D02FD5050 [...] wscxpr12.fhhnet.stadt.hamburg.de>
Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01CB55A1.2DACBEA9"
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-MS-Tnef-Correlator:
X-Spam-Score: -10.599
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id CE49961E006 for <cpan-bug+Expect [...] hipster.bestpractical.com>; Thu, 16 Sep 2010 09:12:22 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sFUzPv0Zh5QK for <cpan-bug+Expect [...] hipster.bestpractical.com>; Thu, 16 Sep 2010 09:12:17 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id D34AD240CF9 for <bug-Expect [...] rt.cpan.org>; Thu, 16 Sep 2010 09:12:16 -0400 (EDT)
Received: (qmail 3895 invoked by uid 103); 16 Sep 2010 13:15:15 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 16 Sep 2010 13:15:15 -0000
Received: from tnsrv138.dataport.de (HELO tnsrv138.dataport.de) (141.91.240.138) by 16.mx.develooper.com (qpsmtpd/0.80) with ESMTP; Thu, 16 Sep 2010 06:15:10 -0700
Received: from fwlit1021.lit.hamburg.de (unknown [141.91.240.140]) by tnsrv138.dataport.de (Postfix) with ESMTP id 519F410281FE for <bug-Expect [...] rt.cpan.org>; Thu, 16 Sep 2010 15:15:06 +0200 (CEST)
Received: from no.name.available by fwlit1021.lit.hamburg.de via smtpd (for lit4u138.lit.hamburg.de [141.91.240.138]) with ESMTP; Thu, 16 Sep 2010 15:15:06 +0200
Received: from mta001.stadt.hamburg.de (mta001.stadt.hamburg.de [10.72.21.76]) by mta002.stadt.hamburg.de (Postfix) with ESMTP id D4F0E222F1A for <bug-Expect [...] rt.cpan.org>; Thu, 16 Sep 2010 15:15:06 +0200 (CEST)
Received: from D-SRV-IMS13.fhhnet.stadt.hamburg.de (d-srv-ims13.fhhnet.stadt.hamburg.de [10.72.61.50]) by mta001.stadt.hamburg.de (Postfix) with ESMTP id 29D0F222F58 for <bug-Expect [...] rt.cpan.org>; Thu, 16 Sep 2010 15:15:06 +0200 (CEST)
Received: from wscxpr12.fhhnet.stadt.hamburg.de ([10.72.8.55]) by wscxsv03.fhhnet.stadt.hamburg.de with Microsoft SMTPSVC(6.0.3790.4675); Thu, 16 Sep 2010 15:15:06 +0200
Delivered-To: cpan-bug+Expect [...] hipster.bestpractical.com
Subject: Please remove $`, $', and $& from Expect.pm
Return-Path: <Heinz.Knutzen [...] dataport.de>
Thread-Index: ActVoS1R2g3BbC3eRTyq/uG/Wx2tEA==
X-RT-Mail-Extension: expect
X-Original-To: cpan-bug+Expect [...] hipster.bestpractical.com
X-Spam-Check-BY: 16.mx.develooper.com
Date: Thu, 16 Sep 2010 15:15:04 +0200
X-TM-Imss-Message-ID: <294e459c00025764 [...] dataport.de>
X-Spam-Level:
Thread-Topic: Please remove $`, $', and $& from Expect.pm
X-MS-Has-Attach:
X-Mimeole: Produced By Microsoft Exchange V6.5
To: <bug-Expect [...] rt.cpan.org>
From: <Heinz.Knutzen [...] dataport.de>
Content-Length: 0
content-type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: us-ascii
Content-Length: 325
Download (untitled) / with headers
text/plain 325b
Expect.pm uses the variables $`, $', and $&. This slows down Expect and every program which uses Expect. For details see http://search.cpan.org/search?query=SawAmpersand&mode=module Please consider the attached patch to get rid of these variables. The patched Expect.pm has been tested and used in production for years.
Content-Description: Expect.pm.patch
content-type: application/octet-stream; name="Expect.pm.patch"
content-disposition: attachment; filename="Expect.pm.patch"
Content-Transfer-Encoding: base64
Content-Length: 2815
Download Expect.pm.patch
text/x-diff 2.7k

Message body is not shown because sender requested not to inline it.

MIME-Version: 1.0
In-Reply-To: <6FC4FABB58655144A7EF4BBB19D90B8D02FD5050 [...] wscxpr12.fhhnet.stadt.hamburg.de>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
References: <6FC4FABB58655144A7EF4BBB19D90B8D02FD5050 [...] wscxpr12.fhhnet.stadt.hamburg.de>
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-6892-1326309019-1920.61395-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 43
I'd like to see that patch applied as well.
MIME-Version: 1.0
In-Reply-To: <6FC4FABB58655144A7EF4BBB19D90B8D02FD5050 [...] wscxpr12.fhhnet.stadt.hamburg.de>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <6FC4FABB58655144A7EF4BBB19D90B8D02FD5050 [...] wscxpr12.fhhnet.stadt.hamburg.de>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-25656-1407879845-1239.61395-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 38
$' and $` have been eliminated in 1.26
MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-25656-1407879845-1239.61395-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <6FC4FABB58655144A7EF4BBB19D90B8D02FD5050 [...] wscxpr12.fhhnet.stadt.hamburg.de> <rt-4.0.18-25656-1407879845-1239.61395-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-23287-1407958244-1169.61395-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 161
Download (untitled) / with headers
text/plain 161b
On Tue Aug 12 17:44:05 2014, SZABGAB wrote: Show quoted text
> $' and $` have been eliminated in 1.26
Rest of the variables were removed in 1.27. This ticket can be closed now.
MIME-Version: 1.0
In-Reply-To: <6FC4FABB58655144A7EF4BBB19D90B8D02FD5050 [...] wscxpr12.fhhnet.stadt.hamburg.de>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <6FC4FABB58655144A7EF4BBB19D90B8D02FD5050 [...] wscxpr12.fhhnet.stadt.hamburg.de>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-23690-1408023153-367.61395-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 13
fixed in 1.29


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.