On Thu, 22 May 2014 16:51:24 -0500 Andy Bach <[email protected]> wrote:
... Very interesting experiments. > $ perl -e '$fname = "st"; print "yes\n" if ( -f $fname and not -l > _ )' > The stat preceding -l _ wasn't an lstat at -e line 1. This tells me that if ( -f $fname and not -l _ )' should perhaps be replaced by: if ( not -l $fname and -f _ ) which avoids above error message. -- Manfred -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] http://learn.perl.org/
