in reply to Bizarre References Question

This appears to be a bug in perl. It looks like the memory where the anonymous string lives is released before the assignment is done, resulting in an invalid memory access. Segfault.

Here's a workaround that relies on increasing the refcount so that underlying memory is not released:

my $temp_value = q(\'/Path/to/log.txt'); my $value = eval $temp_value; { my $foo = $value; $value = $$value; }
I'm looking for how to fix perl, but I invite anyone who knows the code better take this and run with it.

After Compline,
Zaxo