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
[download]
riffraff
Comment on
Re: 1 vs "1"
Download
Code
In Section
Seekers of Perl Wisdom