Re: how to remove the letter n from a line of text
- From: John Bokma <john@xxxxxxxxxxxxxxx>
- Date: 28 Feb 2008 16:59:43 GMT
pauls <pauls@xxxxxxxxxx> wrote:
Let me be more clear and correct myself:
What I was actually trying was this:
$my_variable =~ s/n/e-9/;
I doubt it. Please always post a minimal working Perl program that shows
the issue. A lot of problems are solved that way before they have to be
posted to Usenet in the first place. And if it doesn't, at least it
doesn't waste *everbody's* time (including yours) with a game of "guess
the error".
perl -e "my $mv='3.5n'; $mv =~ s/n/e-9/; print $mv"
3.5e-9
--
John
http://johnbokma.com/mexit/2008/
.
- References:
- how to remove the letter n from a line of text
- From: pauls
- Re: how to remove the letter n from a line of text
- From: Jürgen Exner
- Re: how to remove the letter n from a line of text
- From: pauls
- how to remove the letter n from a line of text
- Prev by Date: Re: how to remove the letter n from a line of text
- Next by Date: Help with script
- Previous by thread: Re: how to remove the letter n from a line of text
- Next by thread: Re: how to remove the letter n from a line of text
- Index(es):