NAME SGML::PYX - Convertor between SGML and PYX. SYNOPSIS use SGML::PYX; my $obj = SGML::PYX->new(%params); $obj->parsefile($sgml_file); METHODS "new(%params)" Constructor. * "output" Output callback, which prints output PYX code. Default value is subroutine: my (@data) = @_; print join "\n", map { encode_utf8($_) } @data; print "\n"; return; "parsefile($sgml_file)" Parse input SGML file and convert to PYX output. Returns undef. ERRORS new(): From Class::Utils::set_params(): Unknown parameter '%s'. parsefile(): Unsupported tag type '%s'. Problem with attribute parsing. data: %s EXAMPLE # Pragmas. use strict; use warnings; # Modules. use File::Temp qw(tempfile); use IO::Barf qw(barf); use SGML::PYX; # Input file. my (undef, $input_file) = tempfile(); my $input = <<'END';