I use a function to return a value:
"$ENV{HOME}/perl/qotw/qotw13/mb"; which is then assigned to $mb

But the $ENV{HOME} part is not being interpreted, so this sample:

my $mb          = get_config('mb', '.get_quiz');
print "$mb\n";
exit;

produces literally: "$ENV{HOME}/perl/qotw/qotw13/mb" instead of:
/home/pfeiffer/perl/qotw/...

If I do a simple assignment:

my $mb =        "$ENV{HOME}/etc..." then this works fine:
/home/pfeiffer/etc...

(As always, thanks for the tips and advice)


-- 
Kevin Pfeiffer
International University Bremen

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

Reply via email to