in a script:perl -e "-d (\"/tmp\") and print \"aack\n\"";
#!/usr/local/bin/perl -d "/tmp" and print "/tmp is a directory\n";
In reply to RE: Checking for Directories
by eLore
in thread Checking for Directories
by zdog
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |