sub draw_feature
{
+ # Martin A. Hansen, November 2009
+
# Given a list of features add these to
# a Cairo::Context object.
}
-sub hdump
-{
- my ( $foo ) = @_;
-
- my ( @html );
-
- @html = "Content-Type: text/html; charset=ISO-8859-1\n\n";
-
- push @html, "<pre>\n";
- push @html, Dumper( $foo );
- push @html, "</pre>\n";
-
- return wantarray ? @html : \@html;
-}
-
-
# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
1;
}
+# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> DEBUG <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
+
+
+sub hdump
+{
+ # Martin A. Hansen, November 2009.
+ #
+ # Primitive debug routine that returns given data
+ # in <pre> tags as HTML lines.
+
+ my ( $data, # data to dump
+ ) = @_;
+
+ # Returns a list
+
+ my ( @html );
+
+ @html = "Content-Type: text/html; charset=ISO-8859-1\n\n";
+
+ push @html, "<pre>\n";
+ push @html, Dumper( $data );
+ push @html, "</pre>\n";
+
+ return wantarray ? @html : \@html;
+}
+
+
# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
+
+1;
+
push @html, Maasha::XHTML::body_end;
push @html, Maasha::XHTML::html_end;
-# push @html, Maasha::BBrowser::Draw::hdump( $cgi->param ); # DEBUG
-# push @html, Maasha::BBrowser::Draw::hdump( $cookie ); # DEBUG
+# push @html, Maasha::XHTML::hdump( $cgi->param ); # DEBUG
+# push @html, Maasha::XHTML::hdump( $cookie ); # DEBUG
print "$_\n" foreach @html;