Schedule today!Call Peggy at
  (800) 252-0652
Contact Us


Related Courses

Programming in PERL: Tk and CGI Extensions

Recommended Duration:
2 Days
SUN Solaris (V7-V10), IBM AIX V4.3, 5L (V5.1 and V5.2), HP-UX (V11 and V11i), and SGI IRIX V6.5, Linux (Red Hat * SuSe)
The first part of this course teaches both the programming interface and the techniques that can be used to write procedures in Tk (ToolKit GUI) from the PERL scripting language. The second part of this course teaches both the programming interface and the techniques that can be used to write CGI procedures in PERL that interface with Web Browsers, Web Servers, and applications written in HTML (text documents and forms).
Each student will use Tk techniques and commands to write PERL scripts to manipulate the graphical interfaces in X Windows. Each student will also use PERL techniques and commands to write scripts to interface CGI scripts with HTML documents and forms.
Experienced PERL Developers needing to increase their Perl skills.
Completion of the "Programming in PERL: Basic/Intermediate" or equvalent experience is assumed.
Major Topics
  • PERL/Tk
    • Overview of TCL/Tk
    • Purpose of the language
    • History of the development of TCL/Tk
    • Extensibility of TCL
    • The Tk Extension to TCL
    • Tk component widgets: buttons, labels, menus, frames
    • The pack function
    • Launching Tk Applications: Building the Tk extensions within Perl, writing and executing Tk-PERL scripts
    • Interfacing Tk Applications with PERL: Tk-extension widget templates, Using Tk-extension widgets within Perl, Buttons - push, radio, check, menu, Dialogs – dialog box, text, message, Scrolls - scrollbar, list box, file browser, Help - balloon and status messages, Undocumented and composite widgets
    • Overview of Web Communications
    • Interactions between Browser and Server Simple
    • Web page design in HTML
    • CGI Introduction with PERL Scripts
      Interactions between Server and PERL scripts
    • Variables: user-defined, PERL built-ins, defined by the Web server
    • Forms and Functions: HTML <form> elements, Images, Retrieving form input in CGI scripts, Returning information for the Browser
There are several hands-on machine exercises. All five Unix platforms will be available for lab exercises.