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)



Subject: Please remove $`, $', and $& from Expect.pm
Date: Thu, 16 Sep 2010 15:15:04 +0200
To: <bug-Expect [...] rt.cpan.org>
From: <Heinz.Knutzen [...] dataport.de>
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.

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

I'd like to see that patch applied as well.
$' and $` have been eliminated in 1.26
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.
fixed in 1.29