--- trunk/lib/Frey/Pod.pm 2008/11/05 08:20:45 271 +++ trunk/lib/Frey/Pod.pm 2008/11/16 00:37:34 350 @@ -30,11 +30,8 @@ my $self = shift; my $class = $self->class; use Pod::Simple::HTML; - my $path = eval { $self->package_path( $class ) }; - if ( $@ ) { - warn $@; - return; - } + my $path = eval { $self->class_path( $class ) }; + return $self->error( $@ ) if $@; my $pod = read_file( $path ); my $converter = Pod::Simple::HTML->new(); my $body; @@ -44,7 +41,7 @@ $body =~ s{.*?]+>}{}s; $body =~ s{\s*\s*$}{}; $body =~ s!%3A%3A!::!g; - $body =~ s{]*)>}{}g; + $body =~ s{]*)>}{}g; $body =~ s{]*)>}{}g; $body =~ s!\n\t!;