You need to separate dirs and files using / and not \. Teddy
----- Original Message ----- From: "B. Fongo" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 18, 2004 11:22 AM Subject: Need help to divert HTML print <<ETHL to file.txt > I tried to divert the output of print <<EOF to a file.txt, but pern > warns of uninitialized value. > The filehandle below succeeded - so what is not initialized? > > ------------------------------------------------------------------- > > open (OUT, ">$dirhandle\$file") || die "Can't create the html template: -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>