http://www.perlmonks.org?node_id=14440


in reply to RE: Re: Where can I find a complete reference for CGI.pm?
in thread Where can I find a complete reference for CGI.pm?

When you are making a table, what do you use except for TD and TR? These methods (they are not objects) can take whatever params you want to give them, like:

print td({-align=>'CENTER', -colspan=>2}, $data);

Read the POD again, and experiment. You can nest the methods to create the HTML you want. If you want to see how they function, read the source code. I don't know what you are referring to for 'scope', since they are methods you import (or access via a CGI object).

Cheers,
KM