NAME
B::Lint::StrictOO - Apply strict to classes and methods
VERSION
version 0.04
METHODS
match
class_exists
lint_class_method_call
nearby_classes_perform
guess_invocant_category
nearby_classes_in_current_file
nearby_classes_in_file
SYNOPSIS Validates that classes exist, that methods that are called on classes and objects, and variables aren't used as method names.
From the command line:
perl -MB::Lint::StrictOO -MO=Lint,oo my_file.pl
Against a program my_file.pl:
sub Hickory::Dickory::dock;
Mouse->dockk; # Class Mouse doesn't exist
Hickory::Dickory->dock;
Hickory::Dickory->$_; # Symbolic method call
$obj->dockk; # Object can't do method
$obj->dock;
$obj->$_; # Symbolic method call
PRIVATE API
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc B::Lint::StrictOO
You can also look for information at:
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
RT: CPAN's request tracker
Search CPAN
ACKNOWLEDGEMENTS
AUTHOR
Josh Jore <jjore@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by Josh Jore.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.