Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: removing C style comments from text files

by CountZero (Bishop)
on Jan 06, 2004 at 09:07 UTC ( [id://319054]=note: print w/replies, xml ) Need Help??


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".

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://319054]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (2)
As of 2024-04-16 23:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found