On Tue, Oct 24, 2000 at 01:17:06PM +1000, Simon Burns wrote:
> How do you format a variable to delete the first character of the variable
> using mod perl?
> I am trying to delete a ($) dollar sign from a price that I have in a
> varibale called $price.
basic perl stuff, see perlre(1p) or a perl book
$price =~ s/^\$//;
`$' is a special regex character, so you have to escape it.
--
- Gus
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]