[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Simple OpenDir problem



On Mon, Jan 24, 2000 at 12:39:24PM -0600, terry chay wrote:
> 	What's wrong with this code?
> 
> print "Attempting to open current directory" . `pwd` . "...\n";
> opendir(DIR, `pwd`) or die 'cannot open directory';

                                                  ^^
You're not printing the value of $!.

Ronald

# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org