Unix and Linux Discussions Tagged with perl cgi |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
1 |
2,877 |
Web Development |
|
|
|
0 |
6,276 |
Web Development |
|
|
|
1 |
1,349 |
Shell Programming and Scripting |
|
|
|
1 |
2,911 |
Shell Programming and Scripting |
|
|
|
3 |
7,500 |
Web Development |
|
|
|
5 |
8,087 |
Shell Programming and Scripting |
|
|
|
0 |
2,449 |
Shell Programming and Scripting |
|
|
|
1 |
3,781 |
Shell Programming and Scripting |
|
|
|
3 |
5,127 |
Shell Programming and Scripting |
|
|
|
28 |
18,983 |
Shell Programming and Scripting |
|
|
|
2 |
2,786 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
8,967 |
Shell Programming and Scripting |
|
|
|
4 |
9,848 |
Shell Programming and Scripting |
Extratags(3pm) User Contributed Perl Documentation Extratags(3pm)
NAME
CGI::Extratags - Useful Extensions for the CGI Module
SYNOPSIS
use CGI::Extratags;
$cgi = new CGI::Extratags;
print $cgi -> email ('racke@linuxia.de');
print $cgi -> jump ('CONTACT', 'contact us');
print $cgi -> mark ('CONTACT', $cgi -> h2 ('How to contact us'));
print $cgi -> row ('Date', 18, 1, 1966);
print $cgi -> recall ('Debian CD', artnum => '0-123456');
DESCRIPTION
CGI::Extratags adds several useful methods to the CGI class.
email ADDRESS
print $cgi -> email ('racke@linuxia.de');
Produces HTML code for a link to an email ADDRESS.
jump MARK TEXT
print $cgi -> jump ('CONTACT', 'contact us');
Produces HTML code for a link pointing to a target within the current document.
mark NAME TEXT
print $cgi -> mark ('CONTACT', $cgi -> h2 ('How to contact us'));
Generates target NAME for hyperlinks.
row [ITEM ...]
print $cgi -> row ('Date', 18, 1, 1966);
Produces HTML code for a table row with ITEM arguments as cell contents.
recall TEXT [NAME [VALUE]] ...
foreach my $num (sort (keys %artmap))
{
print $cgi -> recall ($artmap{$num}, artnum => $num);
print $cgi -> br;
}
Produces a link to the script itself labeled with TEXT. The NAME/VALUE pairs will be passed as parameters.
AUTHOR
Stefan Hornburg, racke@linuxia.de
SEE ALSO
perl(1), URI::Escape(3), CGI(3).
perl v5.8.4 2004-07-11 Extratags(3pm)