Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
#!\usr\bin\perl package Test20; use strict; use warnings; use autodie; use Fcntl; use version; use Perl::Tidy; use base qw/Exporter/; our @EXPORT_OK = qw/&greet/; our $VERSION = '0.1'; my @data; sysopen FH, 'test.txt', O_RDONLY; @data = <FH>; close FH; for (@data) { exit 1 if !print; } sub greet { my ($name) = shift; return "Hello $name"; } 1;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl Critic and a formatting question.
by choroba (Cardinal) on Apr 29, 2013 at 08:27 UTC | |
by Anonymous Monk on Apr 29, 2013 at 08:50 UTC | |
by B-Man (Acolyte) on Apr 30, 2013 at 17:38 UTC |