I wonder if someone could help me with this simple script.

# doh.pl
$ARGV[0] =~ s/\$/\\\$/;
print "You got: $ARGV[0]";

Then run the script:
doh.pl $321
You got: 21   --> Im expecting to get $321

How do I fix it?
Ta.


                
__________________________________ 
Do you Yahoo!?
Send holiday email and support a worthy cause. Do good.
http://celebrity.mail.yahoo.com
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to