Calling all methods (URGENT)

2010-10-11 Thread Jyoti
Hello All, I need an urgent help. I have got .pm files in a directory. All .pm files have subroutines with different methods. At present, I am getting an output of list of all .pm files. But I want it to take all methods from all .pm files and give and output with all the subroutine (methods) from

Re: Calling all methods (URGENT)

2010-10-11 Thread Shlomi Fish
Hi Jyoti, On Monday 11 October 2010 16:44:38 Jyoti wrote: > Hello All, > > I need an urgent help. > I have got .pm files in a directory. All .pm files have subroutines with > different methods. At present, I am getting an output of list of all .pm > files. > But I want it to take all methods from

Re: Calling all methods (URGENT)

2010-10-12 Thread Brian Fraser
If I understood you correctly, you want to see all the methods from a series of .pm files, right? I see two ways to do this: First, you could simply read the files manually, finding any lines that have 'sub' followed by a valid name (to avoid anonymous subroutines); since methods are subs with an a