More problems trying to use constants... I have:
use constant CFG => qq|$ENV{'HOME'}/.get_quiz|;
But I can't see how to make this work:
open DATA, "> CFG" or die "Couldn't open ", CFG, " for writing: $!\n";
With quote marks it creates a new file in the pwd called "CFG". (Maybe it's
time to get the Programming Perl book?)
-K
--
Kevin Pfeiffer
International University Bremen
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
