in reply to Re: splitting up data...
in thread splitting up data...

Thank you for your response

I am planning on using @ARGV to pass a large list of words from a file. The command line would look something like this:

username $: perl thisprogram.pl -4 /myfiles/lists/names_data

I thus @ARGV would be passing the list of names contained in the file named names_data. I am then looking to divide the file equally by a number given in the command line (4 in this case) and printing the resulting files into my current directory. I was just looking for a simple way of dividing the files.

Sorry for any confusion.

-mox