#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 ...

Get Wicked Cool Perl Scripts now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.