gives the code ref of that anonymous sub, but from the main program. Can this be written asprint sub{ }
for instance? I'm well aware that this is a silly thing to want to do, but I'm curious.sub {print ...} -> ();
In reply to Reference to an anon sub from within. by Dedalus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |