I've been avidly reading about the development of Perl6 and especially the awesome code cutting powers of Autrijus and the team at pugscode.org.
I'm also really keen to start using Perl6. So much so I want to make a new Thing for Perl6.
This would normally be easy. Just create a .goo configuration file Perl6 Things:
goo -m pugs
But the suffix of Perl6 Things is not "pugs" it's ".pm"! Bugger ... I've already got a Perl5 config file for ".pm" Things "pm.goo".
But this will happen from time to time and The Goo needs to be flexible enough to deal with it. Fortunately the solution is straightforward - we just need a slightly more sophisticated set of action handlers in pm.goo that can inspect the #!/shebang/line to determine what to do next.
I'd like to demonstrate The Goo working with Perl5 and Perl6 at the workshop at the end of the week.
0 comments:
Post a Comment