Suck the file into a single variable and:
$entirefile =~ s!\/\*.*?\*\/!!g;
On Fri, 20 Apr 2001 09:03:29 +0100, [EMAIL PROTECTED] (Yvonne
Murphy) wrote:
>I am also very new to Perl! I need to figure out how I could skip a
>block of comments in a C header file. For example, if I have something
>like the following:
>
>/* This is my block of comments.....blah
>...blah.....................................................................and
>lots more comments here........
>and then even more here!.................... with my end of comments
>indentifier on the next line!.........
>
>*/
>
>And then the actual code down further needs to be processed. Any help
>would mean alot to a beginner like me.
>Thanks
>YM
>
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]