rafael's Journalrafael's use Perl JournalNeat Grammar Graphs- November 24, 2006 (Seen via LtU) Nobody wants to make a Perl grammar graph, similar to the ones found here for Ruby, JavaScript and Java Bonus points if you include a Perl 1 grammar and a Perl 5.9.4 or bleadperl grammar.http://use.perl.org/~rafael/journal/31708?from=rss New features in bleadperl- November 2, 2006 I added two features in bleadperl recently: new prototype character ! _ is just like $, except that it defaults to $_ :sub foo (_) print "<_>n";foo(42); prints <42>foo(); equivalent to foo($_) And another one, you can now override readpipe() : BEGIN CORE::GLOBAL::readpipe = sub($) ... qxfoo; calls the function with "foo" as argumentfoo; same thinghttp://use.perl.org/~rafael/journal/31489?from=rss |