bss96kci wrote at Wed, 26 Jun 2002 08:52:17 +0200:

> Hello!
> (2)
> $path="/data/homewww/../balginst/Bilder";
> open(DIR, ">$path.$fname") or die
> binmode(DIR);
> 
> The code writes data in the directory balginst and always writes Bilder and 
>Bilder.$fname. When I
> write $path/$fname, I get an error message Is a directory. What am I doing wrong?
> 

To open a directory use
opendir DIR, $dirname;

Greetings,
Janek

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to