Skip Menu |

This queue is for tickets about the Catalyst-Plugin-Authentication CPAN distribution.

Report information
The Basics
Id: 124455
Status: new
Priority: 0/
Queue: Catalyst-Plugin-Authentication

Owner: Nobody in particular
Requestors: KES [...]

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

Subject: `sub can` make problems
Download (untitled) / with headers
text/plain 287b
As documented in perl: Show quoted text
>can checks if the object or class has a method called METHOD . If it does, then it returns a reference to the sub. If it does not, then it returns undef.
sub can { 1 } breaks every code which does: if( my $method = $obj->can( 'method_name' ) ) { $method->() }

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to