in reply to 1 vs "1"
You could also force the string to be looked at as a string, by,
for example, prepending a character in front of it:
$a=1; func($a); # a number func("x$a"); # now a string
riffraff
In Section
Seekers of Perl Wisdom