Skip Menu |

This queue is for tickets about the Net-Squid-Purge CPAN distribution.

Report information
The Basics
Id: 25685
Status: resolved
Priority: 0/
Queue: Net-Squid-Purge

People
Owner: Nobody in particular
Requestors: lchangying [...] gmail.com
Cc:
AdminCc:

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



Subject: spell error?
Date: Fri, 23 Mar 2007 14:50:15 +0800
To: bug-Net-Squid-Purge [...] rt.cpan.org
From: chylli <lchangying [...] gmail.com>
HI. I use Net::Squid::Purge on my Catalyst application. But I found this error: "Can't locate object method "squid_hosts" via package "Net::Squid::Purge::HTTP" at /usr/lib/perl5/site_perl/5.8.6/Net/Squid/Purge/HTTP.pm line 18." I study Net::Squid::Purge. There is an accessor defined by : Net::Squid::Purge::HTTP->mk_accessors(qw(squid_servers)); but in sub purge, that is : for my $squid_host (@{$self->squid_hosts}) { I think it is a spell mistake. It should be $self->squid_servers. I fixed that and it becomes work. Module: Net::Squid::Purge Module Version: 0.1 perl version: 5.8.6 system: centos linux 2.6.11.6 -- Thanks & Regards Chylli
Resolved in 0.2 release.