in reply to RFC Using PERL HEREDOC script within bash
I think in general, Inception* Scripting is frowned on so you would have to have a convincing argument of why you would need to do that opposed to how.
Alternatively, go at least three-five scripts deep to really be impressive.
*Inception is a movie reference