P
pavan734
hi Iam pavan . I need to run a perl script that runs on a file and does
the following.
The file may look like like this
pavan.h:
pavan_here hi how r u
pavan_there Iam fine
pavan_now typing
Search for words containing pavan(say)
In the above example it much search for pavan_here, pavan_there ,
pavan_now and modify those words such that
1.underscores must be eliminated
2. Next letter to underscore(i.e anyletter after underscore) must
become capital.
I mean to say when I run the script the file must modify to
pavanHere hi how r u
pavanThere Iam fine
pavanNow typing
Hope you understood the problem
the following.
The file may look like like this
pavan.h:
pavan_here hi how r u
pavan_there Iam fine
pavan_now typing
Search for words containing pavan(say)
In the above example it much search for pavan_here, pavan_there ,
pavan_now and modify those words such that
1.underscores must be eliminated
2. Next letter to underscore(i.e anyletter after underscore) must
become capital.
I mean to say when I run the script the file must modify to
pavanHere hi how r u
pavanThere Iam fine
pavanNow typing
Hope you understood the problem