=================================================================== RCS file: /cvs/misc/strmode/perl_strmode.pl,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- misc/strmode/perl_strmode.pl 2011/03/28 03:37:48 1.4 +++ misc/strmode/perl_strmode.pl 2011/03/28 03:38:52 1.5 @@ -1,6 +1,6 @@ #!/usr/bin/perl -T -# $AFresh1: perl_strmode.pl,v 1.3 2011/03/27 21:27:25 andrew Exp $ +# $AFresh1: perl_strmode.pl,v 1.4 2011/03/28 02:37:48 andrew Exp $ # # Copyright (c) 2011 Andrew Fresh # Copyright (c) 1990 The Regents of the University of California. @@ -97,9 +97,8 @@ foreach my $file (@files) { my ( $mode, $nlink, $uid, $gid, $size, $mtime ) - = ( lstat($file) )[ 2 .. 5, 7, 9 ]; - - next unless -e _; + = ( lstat($file) )[ 2 .. 5, 7, 9 ] + or next; my $time = localtime($mtime); $time =~ s/^\w+\s+//;