On Sunday, June 1, 2003, at 05:22 AM, Kevin Pfeiffer wrote:


use constant CFG => qq|$ENV{'HOME'}/.get_quiz|;


Well, you could convert it back to a variable prior to use:

#!perl -w

use strict;
use diagnostics;

use constant CFG => qq|$ENV{'HOME'}/.get_quiz|;

my $whichfile = CFG;

open OFILE, ">$whichfile" or die "croak; Frogger died...";
print OFILE "Ribbit.";
close OFILE;


But my question is - how will you find it? The file you've created is:


.get_quiz

And under Unix that is *considered* a hidden file name. You would have to use

ls -ial

or some such to "see" it on the command line...


HTH/Sx


http://InSecurity.org/
_Sx____________________
 ('>    iudicium ferat
 //\   Have Computer -
 v_/_    Will Hack...

              \|/ ____ \|/
              "@'/ .. \`@"
              /_| \__/ |_\
                 \__U_/


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



Reply via email to