Re: splitting by number

2005-02-18 Thread Doug Essinger-Hileman
On 18 Feb 2005 at 16:12, Ken Gillett wrote: That's very much what I had in mind, but I couldn't figure how to automatically set up which remainders go to which HD. I want just the ratio to be specified and everything else to be calculated. However, I think I can see how to do that now.

Re: splitting by number

2005-02-17 Thread Doug Essinger-Hileman
On 17 Feb 2005 at 11:27, Ken Gillett wrote: Initially the storage requirements are 2:1, so simply dividing the name by 3 would (I think) work, i.e. if the name is exactly divisible by 3 or not could determine in which location to place it. But if I need to change that to e.g. 3:2 it's not so

A second beginner's question

2005-01-14 Thread Doug Essinger-Hileman
Now that I have the earlier snippet working (and thank you to all who helped), I am working on shuffling my array. Basically, the array is a list of names in the order they will receive a job assignment. Every third week, I want to shuffle the order. I have tested the basics of shuffling the

Re: A Beginner's problem

2005-01-14 Thread Doug Essinger-Hileman
On 13 Jan 2005 at 7:58, JupiterHost.Net wrote: open (CONTROL1, test.cont); always always test to see if it opened or not: (and don't use double quotes when nothgin is beinf interpolated so Perl doesn't have to check it to see if somethign needs interpolated) open CONTROL1, 'test.cont'

A Beginner's problem

2005-01-13 Thread Doug Essinger-Hileman
I am just learning Perl, and am having a problem with something which seems like it should be so easy. Still . . . . I have read through a couple of books, including _Beginning Perl_ and _Picking Up Perl_, to no avail. I am trying to read a file, then assign some information within a script.