Hi there, I want to check if a file is a plain file but not a symlink. It seems because -f returns true for a symlink that I have to do this:
my $fname = 'somefile'; if ( -f $fname and not -l $fname ) { say "$fname is a plain file"; } Is there a simpler way to do this? -- Manfred -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/