Skip to content

Commit

Permalink
File::stat - Fix typo in synopsis
Browse files Browse the repository at this point in the history
  • Loading branch information
Grinnz authored and jkeenan committed May 21, 2021
1 parent 1b4abd7 commit 3cfda62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/File/stat.pm
Expand Up @@ -11,7 +11,7 @@ BEGIN { *warnif = \&warnings::warnif }

our(@EXPORT, @EXPORT_OK, %EXPORT_TAGS);

our $VERSION = '1.09';
our $VERSION = '1.10';

our @fields;
our ( $st_dev, $st_ino, $st_mode,
Expand Down Expand Up @@ -234,7 +234,7 @@ File::stat - by-name interface to Perl's built-in stat() functions
use File::stat;
$st = stat($file) or die "No $file: $!";
if ( ($st->mode & 0111) && $st->nlink > 1) ) {
if ( ($st->mode & 0111) && ($st->nlink > 1) ) {
print "$file is executable with lotsa links\n";
}
Expand Down

0 comments on commit 3cfda62

Please sign in to comment.