Subject: | Bug in aliased::factory v0.0.1 |
Date: | Mon, 27 Jun 2011 05:48:01 -0700 (PDT) |
To: | "bug-aliased-factory [...] rt.cpan.org" <bug-aliased-factory [...] rt.cpan.org> |
From: | MidLifeXis at PerlMonks <midlifexis [...] wightmanfam.org> |
It does not look like the original finder of the bug has reported it
through RT, so here goes (I believe that you do, however, have the diff
from the original poster).
aliased::factory was mentioned in context of a bug stopping usage on Win32. I took a
quick look at the module, and the bug was straightforward. Don't have
the resources ATM to package up a test case, so, if you don't mind, I
will just point you to the thread on perlmonks with the fix:
http://www.perlmonks.org/?node_id=911259
Basically, enclose the $file variable with \Q and \E to escape any potential character classes in the file name.
HTH.
Brian (MidLifeXis @ perlmonks)