in reply to Re: how to get alias name of anonymous sub?
in thread how to get alias name of anonymous sub?

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?

Replies are listed 'Best First'.
Re^3: how to get alias name of anonymous sub?
by CountZero (Bishop) on Nov 29, 2010 at 17:25 UTC
    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