in reply to Changing a number to a string
Easiest thing I do is just:
This makes Perl kick in with the Right Thing. In converse, you can also$foo = 0 . "";
$foo = "2345" + 0;
|
---|
In Section
Seekers of Perl Wisdom