bluethundr has asked for the wisdom of the Perl Monks concerning the following question:
Pretty simple, right? Well, all that does is obliterate, simply clobber the file. Any idea what's wrong with the search and replace? Any help with this regex would be greatly appreciated.#!/usr/bin/perl use strict; use warnings; while (<>) { s/^>//g; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Remove '>' from email
by quester (Vicar) on Mar 05, 2008 at 07:29 UTC | |
|
Re: Remove '>' from email
by Corion (Patriarch) on Mar 05, 2008 at 06:56 UTC | |
by ikegami (Patriarch) on Mar 05, 2008 at 07:02 UTC | |
|
Re: Remove '>' from email
by ikegami (Patriarch) on Mar 05, 2008 at 07:01 UTC | |
|
Re: Remove '>' from email
by moritz (Cardinal) on Mar 05, 2008 at 07:31 UTC | |
|
Re: Remove '>' from email
by chromatic (Archbishop) on Mar 05, 2008 at 06:57 UTC | |
|
Re: Remove '>' from email
by KurtSchwind (Chaplain) on Mar 05, 2008 at 13:46 UTC | |
by oko1 (Deacon) on Mar 05, 2008 at 15:03 UTC |