Skip to content

Instantly share code, notes, and snippets.

@mala
Created January 24, 2012 09:01
Show Gist options
  • Save mala/1668984 to your computer and use it in GitHub Desktop.
Save mala/1668984 to your computer and use it in GitHub Desktop.
#!/usr/local/bin/perl
use strict;
use Carp::REPL qw(repl);
sub {
my $env = shift;
my $message= "hello";
repl(); # $message .= "world"; :q
[
200,
["Content-Type" => "text/plain"],
[$message]
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment