A quik and small tip in Perl which may sound funny, but it saved my life :D
if ( -d "/folder/path/" ) {
print "Success! Directory exists!\n";
} else {
print "Sad news... It is gone!\n";
}
Reference :
[1] Source Pastebin.com
Perl check if directory exists
2012-08-07T10:02:00+01:00
GarciaPL
Perl|
