Really really new

2001-07-18 Thread Liger-dc
I have a formatting question: I have 2 arrays with integers that I want to print, with one array above the other so that the matching entries end up in the same column. Currently they look like.. 116 44 45 49 71 1 1 3 5 1 and I want them to look like 116 44 45 49 71 1 1 3 5 1 The probl

Beginner question

2001-05-21 Thread Liger-dc
if ($oldLot[1] == 0) { $arpCount = $arp{$lot}; ==> Part 1 } else { $arpCount = "-"; ==> Part 2 } printf "%3s %3d ", $arpCount, $count; My problem occurs in the "printf" at the "%3s". Here is the situation: When $oldLot[1] == 0, $arpCount is equal to an integer, but when $oldLot

copying an array

2001-05-18 Thread Liger-dc
I'm currently copying two 1-dimensional arrays using for loops. Is there an easier way as this may tag my cpu due to the huge numbers I am using. = Edson Manners Academic Computing & Networking Services Florida State University __ Do You Yahoo!

special variables

2001-05-16 Thread Liger-dc
are the variables $1 and $2 special variables? and if so what do they do? __ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/

formatting

2001-05-15 Thread Liger-dc
What does the following formatting do? $line =~ /^; .ot (\d+)/) __ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/