hi CountZero ,If pass the name of the news-site as a parameter,everything is ok.I just try to get the website url by name of subs.Because Perl is so powerful ,maybe it is possibile.
Comment on Re^2: how to get alias name of anonymous sub?
As others have already explained, it is possible but it involves some "higher" magic than I usually employ.
CountZero
A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James