On Mon, 2006-08-05 at 08:07 -0700, Xuning Wang wrote:
> Hi:
> 
> I have a question about replacing $ sign when it is
> before a digit. For example:
> 
> $str = "$1.12";

use strict;
use warnings;

my $str = "\$1.12";


-- 
__END__

Just my 0.00000002 million dollars worth,
   --- Shawn

"For the things we have to learn before we can do them, we learn by doing them."
  Aristotle

* Perl tutorials at http://perlmonks.org/?node=Tutorials
* A searchable perldoc is at http://perldoc.perl.org/



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to