Hello
I found Data::Dumper::Names with this thread . In this manual of Data::Dumper::Names, there is "Unknown Variables" section.
"Unknown Variables" section seems to me having some relation with your case... not printing name "$x".
update:In reply to Re^3: Inspecting the name of a variable
by remiah
in thread Inspecting the name of a variable
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |