in reply to Re: Matching C-Style comments
in thread Matching C-Style comments
As for your second question, it's not just the first line that's echoed, it's the second line too, there's a /* after the MATCH! The reason is your use of -p, which means that $_ is printed for each line of input processed. Regardless of any print statements in the program. You probably want to use -n instead.
-- Abigail
|
|---|