hello, all I want to get the Class name of .java file with perl , How can I do it ? I think it is difficult to result the java comment . For Example a java file named AAA.java -------------------- /* author : John Smith */ // comment public class ClassA { /* */ //comment public static void main(String[] args) { } ... } class ClassB { ... } --------------------- I want to get like this >perl ClassChecker.pl AAA.java >ClassA >ClassB
thank u. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>