Skip to Main Content
Wicked Cool Perl Scripts
book

Wicked Cool Perl Scripts

by Steve Oualline
February 2006
Intermediate to advanced content levelIntermediate to advanced
304 pages
6h 16m
English
No Starch Press
Content preview from Wicked Cool Perl Scripts

#34 Web-Based Quiz

The flash card script is a good text-based quiz. But what if you want something more graphical? That's where this script comes in.

The original requirements called for the script to be a stand-alone program. That meant using the Perl/Tk graphics module to draw the questions in a window. The script would also have to provide answer buttons as well as a few more GUI elements.

It's a lot of work to create a GUI, even a simple one, because each screen element must be specified and drawn. In the end you wind up with hundreds of simple little pieces, and the result is something large.

Ideally, it would be nice if you could get someone else to write the GUI. Turns out there's a pre-built GUI system that handles text, graphics, and ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Perl Debugged

Perl Debugged

Peter Scott, Ed Wright
Perl & LWP

Perl & LWP

Sean M. Burke
Pro Perl

Pro Perl

Peter Wainwright

Publisher Resources

ISBN: 1593270623Catalog PageErrata