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

#33 Flash Cards

Unfortunately, there's still a lot of learning that requires memorization and drill. I still remember the hours I spent typing up 3×5-inch cards with my weekly French vocabulary on them.

The system I used was to go through each word one at a time. If I got the word right, the flash card was set aside. Get it wrong and the card went to the back of the stack so I could try again later.

I got pretty good at learning my French vocabulary. Unfortunately, after I passed the weekly quiz, I got good at forgetting things as well.

This script automates the process I went through with my 3×5-inch cards and gives the user a vocabulary drill.

The Code

 1 use strict; 2 use warnings; 3 4 # 5 # perl lang.pl <flash file> 6 # 7 # File format: ...
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