Thank u very much Praveen.
I am very new to writing perl scripts.I am basically a Java Programmer.
It is amazing that u can do so much in just one line of perl script.
I have one more clarification.
I am reading this java program using perl
Can i know how many parameters are there in this "method1"
Right now i am doing lot of manipulations like substring and using split to get the no of parameters.
is there any short way or correct way of doing it.