$myapp->header
instead of
CGI->header
If you later decide you need to change something in the header (e.g. the encoding/charset), you just edit the header method of the class.
In reply to Re^3: Best practices passing database handles, cgi objects, etc.
by choroba
in thread Best practices passing database handles, cgi objects, etc.
by xtpu2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |