Skip Menu |

This queue is for tickets about the Data-FormValidator CPAN distribution.

Maintainer(s)' notes

This is the bug queue for Data::FormValidator.

Report information
The Basics
Id: 68313
Status: open
Priority: 0/
Queue: Data-FormValidator

People
Owner: Nobody in particular
Requestors: djh [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in:
  • 3.59
  • 3.61
  • 3.62
  • 3.63
  • 3.70
  • 3.71
  • 4.00
  • 4.00_01
  • 4.00_02
  • 4.01
  • 4.02
  • 4.10
  • 4.11
  • 4.12
  • 4.13
  • 4.14
  • 4.20
  • 4.21_01
  • 4.30
  • 4.40
  • 4.49_1
  • 4.50
  • 4.51
  • 4.52
  • 4.53
  • 4.54
  • 4.55
  • 4.56
  • 4.57
  • 4.61
  • 4.62
  • 4.63
  • 4.65
  • 4.66
Fixed in: (no value)



Subject: Data::FormValidator::Results uses $& and $`
I just ran Devel::NYTProf on one of my programs and discovered a warning about Data::FormValidator::Results because it uses the evil variables $& and $` which slow the whole program down. <http://perldoc.perl.org/perlfaq6.html#Why-does-using-$&,-$%60,-or-$'-slow-my-program-down?> explains alternative ways of coding to avoid this. I've never used them, and my program doesn't exercise the feature that uses those variables, so I just commented it out for now. I haven't attempted to understand and recode, I'm afraid.
Subject: Re: [rt.cpan.org #68313] Data::FormValidator::Results uses $& and $`
Date: Thu, 02 Jun 2011 10:26:11 -0400
To: bug-Data-FormValidator [...] rt.cpan.org
From: Mark Stosberg <mark [...] summersault.com>
Thanks for the report. Patch welcome. Mark
On Thu Jun 02 10:26:19 2011, mark@summersault.com wrote: Show quoted text
> Thanks for the report. Patch welcome. > > Mark
If my as-yet-unannounced ambitious experiment with copy-on-write works, you shouldn’t have to worry about $` and $& in 5.16. :-) But I don’t know how it’s going to turn out. :-(