Hello i am new in perl scripting.I have to write a script to check for .c file and then go in to the ,c file and find all function and insert line1 after {
and line2 before }
or before return( if return is present). Can any1 plz help me in it.
Ex:
Function(.........)
{
insert line1;
..................
...................
insert line2;
# if return is present add before it
}