in reply to Eval/package question
We can simplify the test case to:
use strict; use warnings; my %items; eval ("$items{3}{Value} = 2;");
The issue is that $items{3}{Value} is evaluated as the string is being constructed. A simple fix it to use single quotes so interpolation doesn't happen. A better fix is not to use string eval!
Optimising for fewest key strokes only makes sense transmitting to Pluto or beyond
In Section
Seekers of Perl Wisdom