in reply to unexpected: inside sub($1,$2) if do // then arguments will be changed

Global variables are global :) copy them mysub( "$1", "$2" );
  • Comment on Re: unexpected: inside sub($1,$2) if do // then arguments will be changed
  • Download Code