New to CGI.pm

2005-03-31 Thread Jeff Borders
tried saving the parameter to a variable. I even tried pulling it from the param array, which it appears in. The program starts and presents a menu of test chapters, then after user selection, it exits the program as if I finished the exam. Could someone give me some guidance? Thank you, Jeff

Re: New to CGI.pm

2005-03-31 Thread Jeff Borders
-03-31 at 12:55 -0800, toolscripts wrote: Sorry if I'm not totally clear on this myself, but are you saying you are trying to use it without POST, GET or COOKIE usage? The solution might be to use a file named based on the user's ip. --t - Original Message - From: Jeff Borders

Using rand problem

2004-10-28 Thread Jeff Borders
item. Thanks- Jeff Borders ### Code snip ### do { $total++; $random_question = int(rand($number_of_questions)); $random_order = int(rand(4)); #returns an integer from 0-3. $random_order++;#increment to get 1-4. print \n\nQuestion $total: ; print $question[$random_question]\n\n

rand problem v2.0

2004-10-28 Thread Jeff Borders
from the entire pool of questions. ie. Don't skip the first and last array item. What suggestions can anyone give me? Thanks- Jeff Borders (perl newbie) ### Sample Input File: korean.txt ### One = Hana First = Il Two = Dool Second = Yi Three = Set Third = Sahm Four = Net Fourth = Sa

Populating HASH from file

2004-10-25 Thread Jeff Borders
Newbie here, I need to dump a plain text file that has the format of: key = value (ie. question equal sign answer) into a hash. I'm writing a simple learning tool to help me learn some basic korean terminology. Would someone be kind enough to point me in the right direction. -Jeff Borders

Can't install Tk.pm

2004-07-02 Thread Jeff Borders
Hello, I'm trying to install Tk and get the error listed below. I'm running Fedora Core 1. What does it mean and how can I fix it? I've tried with perl -MCPAN -e shell, then install Tk, and also downloading the tarball. Thanks, jeffatjeffborders.com t/Trace..ok

Print Format Problem

2004-03-12 Thread Jeff Borders
I've written a trivial program to print avery labels. One that allows me to specify how many rows to print (when I don't need 30 labels). The problem is that I don't want to print a blank line on a 3 line label. I thought the ~ would take care of this in format, but no. I've also tried using

Re: Perl Newbie - Need good book recommendation

2003-09-28 Thread Jeff Borders
sellers. Another source for 50% off. I've never paid more than $15-25 this way. If you want more advice on Perl books, ask me. I've probably read it and can tell you what it emphasizes and whether it's suited for a beginner. Good luck. Jeff Borders ps. You're not the Ed Yost that works