summaryrefslogtreecommitdiff
path: root/lib/CORE.pod
Commit message (Collapse)AuthorAgeFilesLines
* Update CORE.pod to reflect &CORE::keys() etc.Father Chrysostomos2016-05-201-4/+2
|
* Update CORE.pod to reflect the new coresubsFather Chrysostomos2012-05-291-4/+14
|
* Consistent spaces after dots in CORE.podFather Chrysostomos2012-05-211-2/+2
|
* Update docs about &CORE::subs()Father Chrysostomos2011-08-291-3/+8
|
* Document &CORE::nullary() callsFather Chrysostomos2011-08-181-3/+5
|
* &CORE::not and &CORE::getprotobynumberFather Chrysostomos2011-08-151-1/+1
| | | | | | These two are now supported. They were not before, because their prototypes gave them unary precedence, even though these ops both have list precedence. That was corrected in the previous commit.
* CORE.pod: fix nit grammarKarl Williamson2011-08-151-1/+1
|
* Add inlinable &CORE::functionsFather Chrysostomos2011-08-141-4/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit allows this to work: BEGIN { *entangle = \&CORE::tie }; entangle $foo, $package; And the entangle call gets inlined as a tie op, the resulting op tree being indistinguishable. These subs are not yet callable via &foo syntax or through a refer- ence. That will come later, except for some functions, like sort(), which will probably never support it. Almost all overridable functions are supported. These few are not: - infix operators - not and getprotobynumber (can’t get the precedence right yet; prototype problem) - dump Subsequent commits (hopefully!) will deal with those. How this works: gv_fetchpvn_flags is extended with hooks to create subs inside the CORE package. Those subs are XSUBs (whose C function dies with an error, for now at least) with a call checker that blows away the entersub op and replaces it with whatever op the sub represents. This is slightly inefficient right now, as gv_fetchpvn_flags calls keyword(), only to have core_prototype call it again. That will be fixed in a future refactoring.
* Doc update for changes in 5.15.0 + tweaksFather Chrysostomos2011-06-171-1/+4
|
* Mention the two ways of overriding built-ins.Rafael Garcia-Suarez2007-07-101-24/+35
| | | | | Link to perlsub. Fix typos and indentation. p4raw-id: //depot/perl@31575
* CORE.podTels2007-07-091-0/+51
Message-Id: <200707091728.43634@bloodgate.com> p4raw-id: //depot/perl@31574