use strict;
use warnings;
my $file = $ARGV[0];
die "This File ($file) Exists ! " if (-e "$file");
Result
$ perl tmp.pl tmp.pl
This File (tmp.pl) Exists ! at tmp.pl line 7.
[ORACLE] [SQLSERVER] [POSTGRES] [MYSQL] [DBA] [UNIX] [LINUX] [WINDOWS] [FREEBSD] [REDHAT] [SQL] [PERL] [SH] [BAT] [SCRIPT]
0 comentários:
Post a Comment