## name Basic passing
## failures 0
## cut
sub autoload {}
my $AUTOLOAD = 'foo';
our @AUTOLOAD = qw(nuts);
#-----------------------------------------------------------------------------
## name Empty AUTOLOAD()
## failures 1
## cut
sub AUTOLOAD {}
#-----------------------------------------------------------------------------
## name AUTOLOAD() with code
## failures 1
## cut
sub AUTOLOAD {
$foo, $bar = @_;
return $baz;
}
#-----------------------------------------------------------------------------
##############################################################################
# $URL: http://perlcritic.tigris.org/svn/perlcritic/trunk/distributions/Perl-Critic/t/ClassHierarchies/ProhibitAutoloading.run $
# $Date: 2008-03-16 15:40:45 -0700 (Sun, 16 Mar 2008) $
# $Author: clonezone $
# $Revision: 2187 $
##############################################################################
# Local Variables:
# mode: cperl
# cperl-indent-level: 4
# fill-column: 78
# indent-tabs-mode: nil
# c-indentation-style: bsd
# End:
# ex: set ts=8 sts=4 sw=4 tw=78 ft=perl expandtab shiftround :