gnubbs has asked for the wisdom of the Perl Monks concerning the following question:
Your insight will be greatly appreciated. gnubbs# Now, we need to add the user to the fetchmail files... open(FETCHMAILRC, '+< .fetchmailrc') or die "Unable to open FMRC."; while (<FETCHMAILRC>) { $_ =~ s/^here/$username\nhere/i; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
•Re: Editing Files In Place
by merlyn (Sage) on Jun 13, 2002 at 00:00 UTC | |
by belg4mit (Prior) on Jun 13, 2002 at 00:13 UTC | |
by merlyn (Sage) on Jun 13, 2002 at 00:16 UTC | |
by belg4mit (Prior) on Jun 13, 2002 at 00:21 UTC | |
by merlyn (Sage) on Jun 13, 2002 at 02:26 UTC | |
by bunnyman (Hermit) on Aug 25, 2003 at 21:49 UTC | |
|
Re: Editing Files In Place
by jarich (Curate) on Jun 13, 2002 at 00:55 UTC | |
|
Re: Editing Files In Place
by Abigail-II (Bishop) on Jun 13, 2002 at 09:42 UTC | |
|
Re: Editing Files In Place
by yodabjorn (Monk) on Jun 13, 2002 at 00:44 UTC | |
|
Re: Editing Files In Place
by jmcnamara (Monsignor) on Jun 13, 2002 at 07:33 UTC | |
|
Re: Editing Files In Place
by gnubbs (Beadle) on Jun 13, 2002 at 22:39 UTC |