Re: how to remove the letter n from a line of text



pauls <pauls@xxxxxxxxxx> wrote:
Jürgen Exner wrote:

Works for me

use strict; use warnings;
$_ = 'banana';
s/n/fred/g;
print;

C:\tmp>t.pl
bafredafreda


Let me be more clear and correct myself:


You do that by posting a short and complete program that we can run.

Like Jürgen did.


--
Tad McClellan
email: perl -le "print scalar reverse qq/moc.noitatibaher\100cmdat/"
.



Relevant Pages

  • Re: @arts
    ... Tad McClellan wrote: ... decided to join in rather than point out the Posting Guidelines, ... Specifically because the Jsut troll deserves no better. ... I'd call it Marc saying that he would use warnings and then ...
    (comp.lang.perl.misc)
  • Re: Insulin resistance and insulin medication
    ... and Puffed the following into the madness of usenet: ... And thus, the warnings of hyperinsulinemia.... ... President, or that we are to stand by the President ... If you don't know how to ignore a posting, ...
    (alt.support.diabetes)
  • Re: Insulin resistance and insulin medication
    ... following into the madness of usenet: ... And thus, the warnings of hyperinsulinemia.... ... President, or that we are to stand by the President ... If you don't know how to ignore a posting, ...
    (alt.support.diabetes)
  • Re: Problam in extract data
    ... [snip unattributed comment about posting a short and complete ... > use warnings; ... > use strict; ... The input operator already separates it by newline, ...
    (comp.lang.perl.misc)
  • Re: How to parse text file into hash table
    ... Tad McClellan wrote: ... group book club -emergency ... use warnings; ... use strict; ...
    (comp.lang.perl.misc)