Skip Menu |
 

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

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

People
Owner: jettero [...] cpan.org
Requestors: austin [...] behindthecurtain.us
Cc:
AdminCc:

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



Subject: Bug report
Date: Thu, 17 Nov 2011 15:26:27 -0500
To: bug-CGI-RSS [...] rt.cpan.org
From: Austin Seraphin <austin [...] behindthecurtain.us>
Download (untitled) / with headers
text/plain 156b
This happens running version 0.9653 on Debian 6.0. # perl -mCGI::RSS -e 'CGI::RSS->new->begin_rss' Undefined subroutine CGI::RSS::start_rss at -e line 1
Download (untitled) / with headers
text/plain 629b
Show quoted text
> # perl -mCGI::RSS -e 'CGI::RSS->new->begin_rss'
That explains it then. Use -M and you're all set. -m loads CGI::RSS without calling import(). CGI::RSS used to instruct CGI to load functions via begin_rss(), but that was a problem if you wanted to call (eg) link() directly, so I moved it to import() in the last release. Use -MCGI::RSS instead of -mCGI::RSS and your -e will work. I'll try to find a way to trick CGI in a BEGIN instead of import(), but for tonight -M will do the trick. -- 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.
Subject: Bug Report -- import magic fails in certain conditions
Download (untitled) / with headers
text/plain 273b
I think this latest one should fix everything. I'll likely post this one to The CPAN today. http://jettero.pl/perl/CGI-RSS-0.9654.tar.gz -- 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.


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.