>>>>> "sk" == suresh kumar <[email protected]> writes:
sk> Pass the parameters in double quotes or simply $a, $b. Like below
sk> &replace_txt("$a", "$b");
that is wrong. don't quote scalar vars unless you want to force
stringification.
also to the OP, don't use $a and $b except in sorting. they are special
variables and will not trigger errors under strict.
uri
--
Uri Guttman ------ [email protected] -------- http://www.sysarch.com --
----- Perl Code Review , Architecture, Development, Training, Support ------
--------- Gourmet Hot Cocoa Mix ---- http://bestfriendscocoa.com ---------
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/