JavaDeploy
SiteMap
Perl 1
Perl 2
ASP
XML
Perl Basics
«Prev
Next»
Web Perl
Web Server Basics
Http Protocol
Perl Basics
Perl Web Language
Perl Brief History
Compiled vs. Interpreted
Perl Language
Cross Platform Availability
Awk Sed Perl Text
Perl Regex
Pattern Matching
Powerful Pattern Matching
Regexp Substitute Operator
Execute Replacement Component
Aggregate Data Types
Perl Array
Perl Hash
Array hash Association
Perl References
Scalar References
Array References
Hash References
Perl Data Structure
Perl Web Programming
CGI Forms
About Web Forms
Passing Data Server
Server CGI Program
Get post Methods
Form Data encoding
Perl Widgets
Perl Form Conclusion
122
Perl CGI
Perl Program Flow
State Machine Model
Perl SM Example
Perl based HTML
CGI State Machine Model
Processing States using CGI
Perl Guestboook
Identify Perl Cookie Functionality
Set Read Cookies
Expire Perl Cookie
Clearing Perl Cookie State
Perl Interfaces Conclusion
Pipes Streams
Perl Stream
Write File Stream
Reading File Streams
Perl Pipe
Send email
email Form
Streams | Pipes
Create HTML Table using Perl - Exercise
Using the data from the examples in this lesson, write a Perl program that creates the following HTML table:
President
Vice President
took office
Franklin D. Roosevelt
Henry A. Wallace
1933
Harry S. Truman
Alben W. Barkley
1945
Dwight D. Eisenhower
Richard M. Nixon
1953
John F. Kennedy
Lyndon B. Johnson
1961
Lyndon B. Johnson
Hubert H. Humphrey
1963
Richard M. Nixon
Spiro T. Agnew
1969
Gerald R. Ford
Nelson A. Rockefeller
1974
Jimmy Carter
Walter F. Mondale
1977
Ronald W. Reagan
George H. Bush
1981
George Bush
J. Dan Quayle
1989
Bill Clinton
Al Gore, Jr.
1993
Paste your source code in below and click the
Submit
button when completed.