in reply to Re: clobbering output
in thread clobbering output
#!/usr/bin/perl use strict; use warnings; $^I = ".old"; while (<>) { if (/^#!/) { $_ .= " ## Copyright (C) 2008 me\n"; print; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: clobbering output
by CountZero (Bishop) on Feb 25, 2008 at 09:41 UTC | |
|
Re^3: clobbering output
by kyle (Abbot) on Feb 25, 2008 at 15:00 UTC |