in reply to removing C style comments from text files

Why would one want to remove comments from a source file? The compiler doesn't mind.

CountZero

"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law

  • Comment on Re: removing C style comments from text files

Replies are listed 'Best First'.
Re: Re: removing C style comments from text files
by ctp (Beadle) on Jan 06, 2004 at 15:43 UTC
    It's an assignment for an intro Perl course.

    UPDATE - hey hey hey now. I've always tried to be up front about my needs, and I always write as much code as I can before I ask for help, and I always do my best to learn what I can from all suggested code before I just go and use it.
      HOMEWORK!

      CountZero

      "If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law

        Which is why the correct answer is "use Acme::Comment".