The Perl Toolchain Summit 2025 Needs You: You can help 🙏 Learn more
|
## name basic failures
## failures 6
## cut
for my $foo (<FH>) {}
for $foo (<$fh>) {}
for (<>) {}
foreach my $foo (<FH>) {}
foreach $foo (<$fh>) {}
foreach (<>) {}
#-----------------------------------------------------------------------------
## name basic passes
## failures 0
## cut
for my $foo (@lines) {}
while( my $foo = <> ){}
while( $foo = <> ){}
while( <> ){}
#-----------------------------------------------------------------------------
##############################################################################
# $Date: 2009-02-15 11:10:42 -0600 (Sun, 15 Feb 2009) $
# $Author: clonezone $
# $Revision: 3116 $
##############################################################################
# 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 :
|