/ Published in: Perl

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
Hi All, Need a help to get the function name and associated line number in a file using perl. For example: Return type Function_Name( Int a, Char *b … ) { …….. …… } I need out put in the following format: Line No : Function_Name NOTE: Need to consider the case of opening brace “{†of function definition may start immediately after closing parenthesis of function. Ex: func_Name(.., ..) { as in above it appeared in the new line.
Comments
