in reply to Re^4: How to PRINT CGI html table to a PNG file
in thread How to PRINT CGI html table to a PNG file
Can you please explain why: exactly? Generating HTML with subroutines is powerful, clean, fun. The concept seems to originate with the author of Devel::NYTProf about a year after the web was created. From HTML::AsSubs:
Next year Perl will celebrate 25 years of functional HTML generation as one of the many supported Practical Extraction and Report Languages! <blink>*Cheers*</blink>Date: Tue, 4 Oct 1994 16:11:30 +0100 Subject: Wow! I have a large lightbulb above my head! Take a moment to consider these lines: %OVERLOAD=( '""' => sub { join("", @{$_[0]}) } ); sub html { my($type)=shift; bless ["<$type>", @_, "</$type>"]; } :-) I *love* Perl 5! Thankyou Larry and Ilya. Regards, Tim Bunce.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^6: How to PRINT CGI html...
by Your Mother (Archbishop) on Aug 24, 2018 at 03:27 UTC |