Ah, perfect...so easy. Corrected by adding chomp to the scalar. Thanks!
In reply to Re^2: Verifying If a directory exists by edimusrex in thread Verifying If a directory exists by edimusrex