#!/usr/bin/perl -Tw use warnings; use strict; use Test::More tests=>1; use Text::Textile qw(textile); my $source = "paragraph1\n\nparagraph2\n\n"; my $dest = textile($source); my $expected = "
paragraph1
\n\nparagraph2
"; is($dest, $expected, 'Do we match?');