Skip to content

Instantly share code, notes, and snippets.

@yappo
Created September 8, 2009 06:08
Show Gist options
  • Select an option

  • Save yappo/182746 to your computer and use it in GitHub Desktop.

Select an option

Save yappo/182746 to your computer and use it in GitHub Desktop.
package Cat;
use strict;
use warnings;
use Data::Dumper;
sub new { bless {}, shift }
sub handler {
sub {
[ 200, [ 'Content-Type' => 'text/plain' ], [ Dumper(\@_) ] ];
}
}
1;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment