opendir(DIR, ".") or die "Can't open the current directory: $!\n"; [download]
In reply to Re: Bad file descriptor by moen in thread Bad file descriptor by Anonymous Monk