PERL - Compare 2 strings, excluding whitespaces

I am creating a script to compare definitions and declarations of functions in C code, and report if the arguments are different.

So I need to compare the 2 strings (args of both), how can I do that?

Post your sample input data and the desired output.

tyler_durden

Thanks alot but I figured it out..
I stripped the 2 strings of whitespaces before comparison :slight_smile: