http://www.perlmonks.org?node_id=379766


in reply to Variable Substitution within NameSpace

I would say that you need to concatenate your scalars in the print statement as such:
print "$R" . "::" . "$xx\n";
I have tested this and it works fine.
SUNADMN
USE PERL