
KevinR
Veteran

Jul 18, 2006, 9:43 AM
Post #4 of 4
(559 views)
|
|
Re: [abhisri] Accessing Solaris Directory
[In reply to]
|
Can't Post
|
|
why do you have it twice?
opendir(DIR, $src_dir) || die "Error: Could not Open Input Directory $src_dir"; opendir(DIR,$src_dir); do this and see if it helps track down the problem:
opendir(DIR, $src_dir) or die "Error: Could not Open Input Directory $src_dir, the reason is: $!"; $! should have a more detailed error message. It might or might not help figure out the reason why the folder can't be opened. I don't know anything about Solaris so I don't know why it doesn't like your code. -------------------------------------------------
|