Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: how to find a subroutine exists or not

by mrpeabody (Friar)
on Apr 20, 2006 at 16:11 UTC ( [id://544639]=note: print w/replies, xml ) Need Help??


in reply to Re: how to find a subroutine exists or not
in thread how to find a subroutine exists or not

I think __PACKAGE__ should be mentioned in perlvar. I understand that it is not a "variable", strictly speaking, but it is a symbol with special meaning, and perlvar seems the obvious place to start looking for documentation.

Perhaps just a mention of the name and pointer to perldata, so a quick grep can catch it.

  • Comment on Re^2: how to find a subroutine exists or not

Replies are listed 'Best First'.
Re^3: how to find a subroutine exists or not
by xdg (Monsignor) on Apr 20, 2006 at 17:21 UTC

    It's not a symbol, it's a special literal that's documented in perldata. That said, a mention of it in perlvar probably makes sense, too.

    -xdg

    Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://544639]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2024-04-19 19:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found