Thanks, Corion
if (-e $file){ print "File exists\n"; } if (-f $file){ print "File is plain\n"; }
produces both messages
@INC contains
/etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base
In reply to Re^6: 'do' command is dead? Surely not?
by ACI
in thread 'do' command is dead? Surely not?
by ACI
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |