in reply to Re: RFC Using PERL HEREDOC script within bash
in thread RFC Using PERL HEREDOC script within bash

put #/usr/bin/perl right there on the “shebang” line

I think #!/usr/bin/perl will work better...