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>
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.
Download Expect.pm.patch
text/x-diff 2.7k

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
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.
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.