in reply to Perl with precision
Only your last example has anything to do with your stated problem. And it works fine. So I don't think you'll have any problems.
- tye