I have a large (~4GB) text file written in Multimarkdown format, and I would like to convert it to HTML.
I tried:
use strict;
use warnings;
use File::Map qw (map_file);
use Text::MultiMarkdown qw (markdown);
my $filename = shift // die;
map_file (my $text, $filename);
print markdown($text);
but it still chokes memory.