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

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, jeff<>jeffborders<<.>>com t/Trace..ok t/tr

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 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 korea

Using rand problem

2004-10-28 Thread Jeff Borders
and last array 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 "

rand problem v2.0

2004-10-28 Thread Jeff Borders
sure it chooses 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 Fo

New to CGI.pm

2005-03-31 Thread Jeff Borders
I've 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

Re: New to CGI.pm

2005-03-31 Thread Jeff Borders
r > > drawing the page. I've 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

Making a simple calculator with perl

2003-10-22 Thread Jeff Borders
STDIN, but then need to determine the two or more numbers and the operators. Thanks. Jeff Borders -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Perl Newbie - Need good book recommendation

2003-09-28 Thread Jeff Borders
re. Big advice #3. Check Amazon's used 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.