We've helped you a few times I can remember with non DBI related questions.
Please be kind to send your questions to the appropriate list.

Thanks.

Ilya Sterin

-----Original Message-----
From: Dong, Xiaoxia [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 19, 2001 4:45 PM
To: [EMAIL PROTECTED]
Subject: not a dbi question


This is NOT a DBI question, rather it is a perl question. Maybe somebody
can help me.

I use the find <directory> -type d -print >aa.txt
then open aa.txt

$dir = <FD>
when use this to check to see if it is directory, it always return
undef.

return undef unless -d $dir;
i print out $dir, which is correct if type in command line

any idea?

dong

Reply via email to