dhudnall has asked for the wisdom of the Perl Monks concerning the following question:
I figure that would take $TheFile and remove any lines that begin with a (') or "tick-mark" representing a comment in ASP and replace that line with NOTHING..basically erasing it. If you have any thoughts on this please leave your comments. Thank you for your time.$TheFile = argv[0]; #Then I want to remove comments $TheFile =~ s/^'//g;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: removing comments
by ikegami (Patriarch) on Jun 21, 2007 at 15:45 UTC | |
|
Re: removing comments
by jettero (Monsignor) on Jun 21, 2007 at 15:20 UTC | |
by dhudnall (Novice) on Jun 21, 2007 at 15:32 UTC | |
by Roy Johnson (Monsignor) on Jun 21, 2007 at 16:27 UTC | |
by holli (Abbot) on Jun 21, 2007 at 16:35 UTC | |
by GrandFather (Saint) on Jun 21, 2007 at 20:42 UTC | |
by jettero (Monsignor) on Jun 21, 2007 at 16:43 UTC | |
|
Re: removing comments
by graff (Chancellor) on Jun 22, 2007 at 02:27 UTC |