- SYNOPSIS Validates that classes exist, that methods that are called on classes and objects, and variables aren't used as method names.
- PRIVATE API
- COPYRIGHT AND LICENSE
B::Lint::StrictOO - Apply strict to classes and methods
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
You can find documentation for this module with the perldoc command.
You can also look for information at:
AnnoCPAN: Annotated CPAN documentation
RT: CPAN's request tracker
Josh Jore <email@example.com>
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.