in reply to Re: Re: Odd behavior of $#
in thread Odd behavior of $#

sprintf "\$%.2f", $amount - $taxes

(And you meant to say prepend instead of append)


Seeking Green geeks in Minnesota

Replies are listed 'Best First'.
Re: Re^3: Odd behavior of $#
by Nkuvu (Priest) on Feb 19, 2003 at 20:37 UTC
    The difference I am seeing is that you have double quotes and no space, the previous post had single quotes and a space. The single quotes make it so that you don't need the \ in front of the $ (unless I am once again mistaken ;) ).