Import Files to Excel File

2011-07-26 Thread Overkill
with this or is it pretty easy to put together? This is what I was able to put together so far: #!/usr/bin/perl -w @files = ; foreach $file (@files) { print $file . "\n"; } -Overkill -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: b

Re: Increment UID Field

2011-07-20 Thread Overkill
Rob, great ideas and worked like a charm. Thanks again, Overkill. On 07/20/2011 01:42 PM, Rob Coops wrote: On Wed, Jul 20, 2011 at 7:24 PM, Overkill wrote: Greetings, I'm trying to increment the UID field of the unix password file from an csv file. I've tried to insert C style

Increment UID Field

2011-07-20 Thread Overkill
Greetings, I'm trying to increment the UID field of the unix password file from an csv file. I've tried to insert C style increment and it keeps bomping out. What would be the logic to increment the 5009 to increment by one? Thanks for any help. -Overkill #!/usr/bin/perl #

Printing An Array

2006-02-26 Thread overkill
Currently I have my script print in a long list .csv file. I need to print my long list into rows of 20 elements. How can I go about doing this? while ($x = ) { chop $x; @arr = split /\s+/,$x; $temp = @arr; print "$arr[$temp -1],\n"; } __DATA__ hostname01 Unknown DL360 G3 M0PCLGP82F R

IP Number/ IP Address Array

2006-02-19 Thread overkill
Greetings, I need to convert the first column of a list of IP numbers to IP addresses. I created an array of my list but am stumped on how to convert the numbers. File: 180884576 imstrmcs05 180884577 imstrmcs06 180884578 imstrmcs07 180884579 imstrmcs08 180884580

IP Number/ IP Address Array

2006-02-19 Thread overkill
I need to convert the first column of a list of IP numbers to IP addresses. I created an array of my list but am stumped on how to convert the numbers. File: 180884576 imstrmcs05 180884577 imstrmcs06 180884578 imstrmcs07 180884579 imstrmcs08 180884580 imstrmcs09

Nested Loop

2006-01-19 Thread overkill
Greetings, Basically I deleted a portion of a mysql database and need to insert the subnet back in. The output is suppose to increment the first field starting with '8' until the IP is 10.168.17.255. I can't figure out my inside loops condition. Maybe there is a perl module for this? Exa