Stories
Slash Boxes
Comments
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 ]

Limbic Region (3985)

Limbic Region
  (email not shown publicly)
http://gatcomb.org/joshua/perl.html

I love to code perl. If you want to hire me, see details on my homepage.
Monday April 25, 2005
08:54 PM

Tests for Pugs

[ #24371 ]

autrijus and gang has this neat agreement where they happily add working code in exchange for tests. I installed Pugs and wrote my first piece of perl6 code last night:

http://perlmonks.org/index.pl?node_id=451398

I came across a few unimplemented features and a few things that didn't quite work as I wanted

1. @array.end instead of @array.elems - 1
2. last if defined @array[ $index ]; instead of if ( defined @array[ $index ] ) { last }
3. next/redo not implemented
4. while ( my @array = $ref() ) { ... } instead of my @array; while ( @array = $ref() ) { ... }

In his infinite wisdom, stevan gave me commit access so I checked in my example code and agreed to write tests for the stuff I wanted tomorrow.

Cheers,
L~R

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