Skip Menu |

This queue is for tickets about the JavaScript-Code CPAN distribution.

Report information
The Basics
Id: 26402
Status: new
Priority: 0/
Queue: JavaScript-Code

People
Owner: Nobody in particular
Requestors: trymch+public [...] gmail.com
Cc:
AdminCc:

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



Subject: Wrong behavior 'call' method in JavaScript::Code::Function
#!/usr/bin/perl use strict; use warnings; use JavaScript::Code; my $func = JavaScript::Code::Function->new({ name => 'foo' }); print $func->call; __END__ Operation `""': no method found, argument in overloaded package JavaScript::Code::Function at /System/Library/Perl/5.8.6/overload.pm line 97. I think, in call method of JavaScript::Code::Function, wrong : my $params = $self->args(@_)->{parameters} || $_[0] || []; collect : my $params = $self->__args(@_)->{parameters} || $_[0] || [];