NAME
B::Lint::StrictOO - Apply strict to classes and methods
VERSION
Version 0.02
SYNOPSIS
Validates that classes exist, that methods that are called on classes and objects, and variables aren't used as method names.
$ perl -MB::Lint::StrictOO -MO=Lint,oo 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 FUNCTIONS
match
See B::Lint's plugin documentation.
@classes = classes( file name )
AUTHOR
Joshua ben Jore, <jjore at cpan.org>
BUGS
Please report any bugs or feature requests to bug-b-lint-strictoo at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=B-Lint-StrictOO. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
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
COPYRIGHT & LICENSE
Copyright 2006 Joshua ben Jore, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.