I'm curious to know if it is possible to write a script using 100% object oriented syntax. I know I can use the <<EOF or the regular print "blah, blah"; statements, but how would I use say:
print $q->header,
$q->start_html,
$q->table({-border=>"1"},
$q->Tr([
$q->td([
if (blah, blah) {
what I want printed in the table data area;
}
])])),
$q->end_html;
I hope I'm explaining myself correctly. Any help would be greatly appreciated.
print $q->header,
$q->start_html,
$q->table({-border=>"1"},
$q->Tr([
$q->td([
if (blah, blah) {
what I want printed in the table data area;
}
])])),
$q->end_html;
I hope I'm explaining myself correctly. Any help would be greatly appreciated.