How do I update one field in a hash based on a selection 
         of two others?

         I have data like this (there are 35 total):
                 $flam_table{5} = {ctype => "Capacitor",
                                   ptype => "Epoxy", 
                           cc => "15", mass  => 0, rating  => "UL94V-0"};
                 $flam_table{6} = {ctype => "Capacitor",
                                   ptype => "Metalized Paper", 
                           cc => "15", mass  => 0, rating  => "UL94V-0"};
                 $flam_table{7} = {ctype => "Inductor",
                                   ptype => "Thermoplastic", 
                           cc => "18", mass  => 0, rating  => "UL94V-0"};

I then have a list of items, where I can figure out the
"cc" and "ptype" values. I then want to select the correct
entry and update the mass entry (the list of items has a quantity
and unit mass - so I multiply and add to the appropriate
entry). After going thru the list of items, I then spit out
all these 35 entries into a spreadsheet, one field per 
column.

Thanks,
Lauren
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users

Reply via email to