Skip Menu |
 

This queue is for tickets about the CGI-Application CPAN distribution.

Report information
The Basics
Id: 75144
Status: open
Priority: 0/
Queue: CGI-Application

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

Bug Information
Severity: Normal
Broken in: 4.50
Fixed in: (no value)



Subject: Faulty return value from param({...})
Download (untitled) / with headers
text/plain 297b
Hi Folks At CGI::App V 4.50 line 473: if (scalar(@data) <= 2) { my $param = $data[0]; return $rp->{$param}; } This code does not call ref on $data[0], so after a call like $app -> param({one => 1}), the value is set properly, but the hashref itself is used as a hash key in $rp->{$param}.
Subject: Re: [rt.cpan.org #75144] Faulty return value from param({...})
Date: Mon, 20 Feb 2012 09:59:22 -0500
To: bug-CGI-Application [...] rt.cpan.org
From: Mark Stosberg <mark [...] summersault.com>
Thanks for the report. We'll take a look. Mark


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.