Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Journal of rafael (2125)

Wednesday January 30, 2002
05:42 PM

Extending Perl

[ #2539 ]
I was thinking about the multiple ways to extend Perl's syntax and semantics. There are :
  • ties, for new magic variables
  • builtin overriding
  • operator overloading
  • the coderef-in-@INC feature, undocumented in 5.6.1
  • source filters (using, for example, Filter::Simple); my module Sub::Quotelike uses this technique.
  • for wizards : Simon Cozens' B::Generate module, that allows a perl program to modify it's own internal optree. (I haven't used it.)

Is there something missing ?

I also played with the first release of Simon's Perl 6 tokenizer. Great draft, I hope I'll have more time to look at it (and at Perl 6 parsing) soon.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.