PerlSAX.pm 940 字节
Newer Older
M
Meiyim 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
package XML::DOM::PerlSAX;
use strict;

BEGIN
{
    if ($^W)
    {
	warn "XML::DOM::PerlSAX has been renamed to XML::Handler::BuildDOM, please modify your code accordingly.";
    }
}

use XML::Handler::BuildDOM;
use vars qw{ @ISA };
@ISA = qw{ XML::Handler::BuildDOM };

1; # package return code

__END__

=head1 NAME

XML::DOM::PerlSAX - Old name of L<XML::Handler::BuildDOM>

=head1 SYNOPSIS

 See L<XML::DOM::BuildDOM>

=head1 DESCRIPTION

XML::DOM::PerlSAX was renamed to L<XML::Handler::BuildDOM> to comply
with naming conventions for PerlSAX filters/handlers.

For backward compatibility, this package will remain in existence 
(it simply includes XML::Handler::BuildDOM), but it will print a warning when 
running with I<'perl -w'>.

=head1 AUTHOR

Enno Derksen is the original author.

Send bug reports, hints, tips, suggestions to T.J Mather at
<F<tjmather@tjmather.com>>.

=head1 SEE ALSO

L<XML::Handler::BuildDOM>, L<XML::DOM>