Skip Menu |

This queue is for tickets about the Text-Decorator CPAN distribution.

Report information
The Basics
Id: 15683
Status: stalled
Priority: 0/
Queue: Text-Decorator

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

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



Subject: URIFind filter needs updating
Hi, Somewhere along the way URI::Find decided that it would require the callback to be passed to new(). The URIFind plugin currently doesn't do that. Thus i get this error: Bogus invocation of URI::Find::new at C:/Perl/site/lib/Text/Decorator/Filter/URIFind.pm line 41 Thanks in advance, -Brian
RT-Send-CC: schwern [...] pobox.com
On Thu Nov 10 15:21:04 2005, BRICAS wrote: Show quoted text
> Somewhere along the way URI::Find decided that it would require the > callback to be passed to new(). The URIFind plugin currently doesn't > do that. Thus i get this error:
Thanks. I'm not entirely sure of Schwern's reasoning here, but for now I've worked around this by calling URI::Find->new(sub {}); I don't know whether Simon's use of URI::Find is technically unsupported, or whether it should be done a better way, or whether Schwern just hadn't expected a use like this, but this seems to do the job for now. New release on its way to CPAN. Thanks, Tony