in reply to Re: String replace with function
in thread String replace with function

Also, you don't need & to call a function, and in fact should (almost) never use that call syntax.

To expand this bit, &function was the perl4 way to invoke subroutines. In perl5, &function

Function prototypes? You should (almost) never use that... see perlsub.

perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'