Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

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 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

    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?

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2021-10-24 17:54 GMT
Find Nodes?
    Voting Booth?
    My first memorable Perl project was:

    Results (89 votes). Check out past polls.