print "foo\n" if (-d "/bar"); [download]
In reply to Re: directory or file? by The Mad Hatter in thread directory or file? by rupesh