Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update CORE.pod to reflect the new coresubs | Father Chrysostomos | 2012-05-29 | 1 | -4/+14 |
| | |||||
* | Consistent spaces after dots in CORE.pod | Father Chrysostomos | 2012-05-21 | 1 | -2/+2 |
| | |||||
* | Update docs about &CORE::subs() | Father Chrysostomos | 2011-08-29 | 1 | -3/+8 |
| | |||||
* | Document &CORE::nullary() calls | Father Chrysostomos | 2011-08-18 | 1 | -3/+5 |
| | |||||
* | &CORE::not and &CORE::getprotobynumber | Father Chrysostomos | 2011-08-15 | 1 | -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 grammar | Karl Williamson | 2011-08-15 | 1 | -1/+1 |
| | |||||
* | Add inlinable &CORE::functions | Father Chrysostomos | 2011-08-14 | 1 | -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 + tweaks | Father Chrysostomos | 2011-06-17 | 1 | -1/+4 |
| | |||||
* | Mention the two ways of overriding built-ins. | Rafael Garcia-Suarez | 2007-07-10 | 1 | -24/+35 |
| | | | | | Link to perlsub. Fix typos and indentation. p4raw-id: //depot/perl@31575 | ||||
* | CORE.pod | Tels | 2007-07-09 | 1 | -0/+51 |
Message-Id: <200707091728.43634@bloodgate.com> p4raw-id: //depot/perl@31574 |