CGI.pm defines general HTML shortcut methods for most, if not all of the HTML 3 and HTML 4 tags. HTML shortcuts are named after a single HTML element and return a fragment of HTML text that you can then print or manipulate as you like. Each shortcut returns a fragment of HTML code that you can append to a string, save to a file, or, most commonly, print out so that it displays in the browser window.Secondly,
...
:standard
Import ``standard'' features, 'html2', 'html3', 'html4', 'form' and 'cgi'.
>perl -MCGI=:standard -e die+br <br /> at -e line 1. >
Or maybe just because it works, or because it would be more efficient than the method ...In that case why does he bother to import it? Why does he bother with any of the html shortcuts, like hr (heredocs anyone)? I say, if you're going to go, go all out, or don't bother.
MJD says you can't just make shit up and expect the computer to know what you mean, retardo! I run a Win32 PPM repository for perl 5.6x+5.8x. I take requests. ** The Third rule of perl club is a statement of fact: pod is sexy. |
In reply to Re: Re: Re: Or die killing my script
by PodMaster
in thread Or die killing my script
by sulfericacid
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |