#!/usr/bin/perl
use Lingua::Ispell;
print "Content-type: text/plain\n\n";
print "beginning\n\n";
$line="delte five";
spellit();
sub spellit
{
$spellline=$line;
$realine=$line;
for my $r ( Lingua::Ispell::spellcheck($spellline) ) {
print "right after
$spellline\n ";
if ( $r->{'type'} eq 'miss' ) {
print "$r->{'term'}";
}
}
}