Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^3: Which are perl-internal subroutines?

by diotalevi (Canon)
on Nov 20, 2007 at 00:18 UTC ( #651811=note: print w/replies, xml ) Need Help??


in reply to Re^2: Which are perl-internal subroutines?
in thread Which are perl-internal subroutines?

The list for core perl is everything from UNIVERSAL.pm and up. SUPER is also in the core and is frequently used. The other things are still somewhat uncommon. You would be wrong to think that only 'VERSION' is the available method. When I load my perl up with no modules at all and look at in the debugger I get four methods.

perl -dea DB<1> m main via UNIVERSAL: DOES via UNIVERSAL: VERSION via UNIVERSAL: can via UNIVERSAL: isa DB<2> q

⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊

Replies are listed 'Best First'.
Re^4: Which are perl-internal subroutines?
by Tobiwan (Beadle) on Nov 20, 2007 at 14:35 UTC
    Hi,

    I don't care about frequently use modules, because if someone use a module, he has to take care about side effects for himself.

    The UNIVERSAL-methods can() and isa() are still in my list. But for curiosity: what is the DOES() method? Where can I find documentation about ist? I've only perl 5.8x so I cant reproduce it.

      He said 5.9.4+ for DOES.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2020-10-29 07:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (269 votes). Check out past polls.

    Notices?