in reply to Re^3: problem in checking if directory exists
in thread problem in checking if directory exists

I dont know what is the reason may be it was some privilege problem but the following code is working fine now

$dir = "/usr/spool/uucppublic/book_prod"; unless(-d $dir){ `mkdir $dir`; }
Thanks