in reply to Converting a coderef back to code

Try using coderef2text() from the B::Deparse module - the earlier suggestion to use the Deparse option from Data::Dumper rely on both

So just use B::Deparse anyway :-D

Update:

Looks like my post and oxones reply crossed in the post

A user level that continues to overstate my experience :-))