in reply to Package shortener and loader
According to the error report, I would guess that a regular expression is not being escaped properly. It appears that a number prefixed by a backslash is causing it problems (see the '\5 <-- HERE' in test output) around line 60 of aliased::factory. This is also supported by the large numbers of passes on *nix and failures on Windows.
In fact, the error appears to be in the line
($err = $@) =~ s/ at $f line \d+\.\n//;
I believe that it should be (untested)
($err = $@) =~ s/ at \Q$f\E line \d+\.\n//;
Update: Had \Q and \E reversed. perlre
Update2: Bug report submitted.
A test should probably be written (if possible) to reproduce this as part of the patch package. HTH.
--MidLifeXis
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Package shortener and loader
by ikegami (Patriarch) on Jun 24, 2011 at 15:46 UTC | |
by MidLifeXis (Monsignor) on Jun 24, 2011 at 16:29 UTC | |
by ikegami (Patriarch) on Jun 24, 2011 at 16:59 UTC |