•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Perl section within the Software Development category of DaniWeb, a massive community of 426,422 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,370 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Perl advertiser: Programming Forums
Views: 1923 | Replies: 23 | Solved
•
•
Join Date: Mar 2008
Posts: 11
Reputation:
Rep Power: 1
Solved Threads: 0
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
}
Ex: Function(.........)
{
insert line1;
..................
...................
insert line2;
# if return is present add before it
}
•
•
•
•
•
•
•
•
DaniWeb Perl Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Similar Threads
Other Threads in the Perl Forum
- Previous Thread: getting 401 Unauthorized from an xml feed...
- Next Thread: count characters in a string



Threaded Mode