Hello All,
I was given a comma delimited excel file to process. It contains a
list of NT domains and the software installed in them. I need to find out,
for example, how many instances on win 2k are installed in each domain. I
thought PERL would be great for this but I can't seem to hammer anything
out. I thought I could store the software of each domain in a list but I
would need to create a list with the domain name which comes from a variable
created by split! I am sure that my thinking is all wrong here but if anyone
has a qucik Idea I would appreciate it. Here is the snippet I have so far:"
#!/usr/bin/perl
@invlist = ();
open (INV, "/root/inventory.csv") || die "cannot open inventory file";
while ($line = <INV>) {
($garbage1,$software,$domain,$garbage2,$garbage3) =
split(/,/,$l
ine);
push(@$domain,$software);
}
Is it possible to dynamicly create an array from a variable like that?
- Joel
From Anthony Walsh" <
awalsh@itconnections.com Fri Dec 22 23:02:42 2000
From: Anthony Walsh" <
awalsh@itconnections.com (Anthony Walsh)
Date: Fri, 22 Dec 2000 16:02:42 -0700
Subject: Happy Holidays!
Message-ID: <
001201c06c6b$4a61d580$061410ac@itconnections.com>
Hello All,
Just a quick line, Happy Holidays! I wish the best for all of you, and
all of your families.
Take care,
Anthony G. Walsh
Account Manager awalsh@itconnections.com
IT Connections, Inc. 602.240.7711 Ext. 14
Your Source For Efficient, Effective IT Expertise.