Subject: | query method bug |
One of the first thing I do in my application is call validate_sig, and
I pass it my Catalyst::Request object (which has the necessary methods
available).
validate_sig calls the query method appropriate and sets the query object:
sub validate_sig {
my $self = shift;
$self->base->query(shift);
my $fb_params = $self->get_fb_params;
...
But the problem occurs in get_fb_param, when another attempt is made to
set the query object:
sub get_fb_params {
my $self = shift;
$self->base->query(shift);
This call query() destroys the previously created query object, and I
end up with the following error:
Can't call method "param" without a package or object reference at
/usr/share/perl5/WWW/Facebook/API/Canvas.pm line 33.
I'm using 0.3.5 currently.