You need to quote "blah".
$test = "blah";
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 14, 2001 6:04 PM
To: [EMAIL PROTECTED]
Subject: printing to a filehandle
I need some help figuring out where I'm going wrong with trying to print to
this filehandle. The file is being created, but I can't print anything to
the file. Oh, and for a twist, this is Perl v4, not my choice, but what I'm
forced to live with for now.
open (RENAME, ">renamedep.tmp");
$test=blah;
print RENAME ("$test\n");
close RENAME;
I'm sure it's something trivial, but I've been staring at this for 3 hours
now really am missing something.
Thank you,
Paul
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]