Perl: cast scalars to char* implicitly in func params

In pure Perl, scalars are automatically converted to the needed type, like when you do:
```
my $x = 3;
my $s = $x . " foo"; // "3 foo"
```

So there's no reason for SWIGged functions not to do the same.