Interestingly, this does work:
use strict; my $temp_value = q(\'/Path/to/log.txt'); print "1> $temp_value\n"; my $value = eval $temp_value; print "2> $value\n"; print "3> $$value\n"; my $foo = $$value; print "4> $foo\n"; $value = $foo; print "5> $value\n";
So assigning to an intermediate scalar works. That seems to indicate a problem in the assignment statement. But that looks legal to me ...
In reply to Re: Bizarre References Question
by steves
in thread Bizarre References Question
by mpennucci
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |