Subject: | doc bug in POD |
In the synopsis, $d->end should read: $d->eof
=head1 SYNOPSIS
use Encode::Detect::Detector;
my $charset = detect($octets);
my $d = new Encode::Detect::Detector;
$d->handle($octets);
$d->handle($more_octets);
$d->eof;
my $charset = $d->getresult;
Cheers.