There I was, the other week, attempting to solve a problem in my app. I was attempting to construct a URI consisting of the previous set of query parameters and my applications base uri.
my $uri = URI->new($ENV{REQUEST_URI};
$uri->query("");
my $queryparams = join('&', map { "${_}=" . join("&${_}=", @{ $back_data{$_} } ) } keys(%back_data));
$uri->query($queryparams);
But I kept getting odd escaping errors for some reason:
Undefined subroutine &URI::Escape::escape_char callled at /nethomes/jessrobinson/local/perl-linux/lib/perl5/site_perl/5.8.8/URI/_query.pm
I tried upgrading to the latest release of URI from CPAN, but it still errored. So I worked around the problem and moved on.
Later on I went back and looked at URI on CPAN. I looked at the reported bugs, via the "View/Report Bugs (14)" link on that page. It's an oft used module, and yet has a small pile of open bugs. Mine is not among them, now I have several options:
It looks like the author, Gisle Aas, does keep up with, or at least comment on, some of the open bugs. Maybe he's just also quite busy.
I asked about on IRC whether Gisle was about there, he's not, but I was told that he stores all his modules on github, so now I can can grab the current source code to check my bug against.
@public,perl,uri,ironman
Last modified: 2012-01-29T17:33:39