Further to Eily's post: Instead of
print $$self $data;
try
print { $$self } $data;
(untested).
Give a man a fish: <%-{-{-{-<
In reply to Re^3: "scalar found where operator expected" while printing to a glob ref
by AnomalousMonk
in thread "scalar found where operator expected" while printing to a glob ref
by seki
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |