in reply to General question about a haiku program
You could clean up the output with a hack like this:use Coy; die;
(Yeah, not your original question. Still Coy is a cool module to play with.)use Coy; eval{die}; $@ =~ /-----\s*(.*)\s*(.*)\s*(.*)\s*-----\s*(.*)\.\.\./; print "$1\n$2\n$3\n - $4\n";
|
|---|