in reply to Something simpler than HTML::Calendar::Simple
But using my own module is probably cheating. I guess my point is that even though you don't like a certain wheel, you shouldn't dismiss it's core wheel as well. Calendar::Simple simply rocks. davorg++ yet again. :)use POSIX; use CGI qw(:standard); use Calendar::Simple; use DBIx::XHTML_Table; print header, start_html('simple calendar'); print DBIx::XHTML_Table ->new([calendar],[qw(Su Mo Tu We Th Fr Sa)]) ->modify(table => {border=>1}) ->modify(caption => strftime("%B %Y",localtime)) ->output ; print end_html;
jeffa
L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
|
|---|