HTML-Untidy

 view release on metacpan or  search on metacpan

lib/HTML/Untidy.pm  view on Meta::CPAN

our $INDENT = 0;

my $DEPTH = 0;

sub install_sub{
  no strict 'refs';
  my ($name, $code) = @_;
  *{"${name}"} = $code;
}

sub e ($){
  goto \&escape_html;
}

sub indent {
  return ' ' x ($DEPTH * $INDENT);
}

sub element ($&){
  my ($tag, $code) = @_;



( run in 1.329 second using v1.01-cache-2.11-cpan-5b529ec07f3 )