Error handling in Perl using EVAL Block Using the EVAL Block feature to check whether a directory exists on a remote FTP location.
Read this post on ask.amoeba.co.in