Skip Menu |
 

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

Report information
The Basics
Id: 72662
Status: resolved
Worked: 31 min
Priority: 0/
Queue: CGI-RSS

People
Owner: jettero [...] cpan.org
Requestors: dynot [...] JUNKMAIL.ATH.CX
Cc:
AdminCc:

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



Subject: Undefined subroutine CGI::RSS::start_rss
Download (untitled) / with headers
text/plain 553b
I use your module with CGI:Fast and your latest version seems incompatible with it: perl -e 'use CGI::Fast ;use CGI::RSS; new CGI::Fast; my $r = new CGI::RSS; print $r->header, $r->begin_rss;' gives Undefined subroutine CGI::RSS::start_rss at -e line 1 If I omit the new CGI::Fast, then it works: perl -e 'use CGI::Fast ;use CGI::RSS; my $r = new CGI::RSS; print $r- Show quoted text
>header, $r->begin_rss;'
Content-Type: application/xml <?xml version="1.0" encoding="UTF-8"?> <rss version="2.0"><channel> perl -MCGI::RSS -e 'print CGI::RSS->VERSION;' 0.9654
Download (untitled) / with headers
text/plain 589b
On Wed Nov 23 09:18:39 2011, dynot wrote: Show quoted text
> I use your module with CGI:Fast and your latest version seems > incompatible with it
Yeah, CGI::RSS does some really strange things to get CGI to produce those functions. I'm really not surprised moving those things around in the last release caused as many problems as it solved. I'll have to try this with CGI::Fast and see if I can reproduce the problem — and then find a way to work around it. -Paul -- If riding in an airplane is flying, then riding in a boat is swimming. 116 jumps, 48.6 minutes of freefall, 92.9 freefall miles.
Download (untitled) / with headers
text/plain 256b
Have a test… Problem is easy to produce at least. https://github.com/jettero/cgi--rss/blob/master/t/05_test_cgi-fast.t — If riding in an airplane is flying, then riding in a boat is swimming. 116 jumps, 48.6 minutes of freefall, 92.9 freefall miles.
Download (untitled) / with headers
text/plain 311b
Should be all set. Let me know if I'm wrong. Get advanced copies on github, or http://jettero.pl/ or just wait for it to hit The CPAN. https://github.com/jettero/cgi--rss/ -- If riding in an airplane is flying, then riding in a boat is swimming. 116 jumps, 48.6 minutes of freefall, 92.9 freefall miles.
From: dynot [...] JUNKMAIL.ATH.CX
Thanks for your quick fix Paul, it's working now.


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.