hi
i have an array of hashes
i want to save these hashes from the array in a table how wil do that?
mi array is
$VAR1 = { 'received_through' => 'DIALUP', 'alarm_text' => 'Comview = ID = 1234 <<Start of Alarm>> site_name=Gadens_Melb alarm_source= alarm_desc= alarm_date_time=2006-03-27 15:10:06 alarm_info= ContactSensor:INPUT2 alarm_severity=Critical alarm_msg=Event-101 fatal stack error on PRI 001 <<End of Alarm>> Comview end of transmission ', 'source_id' => 1, 'alarm_type' => undef, 'alarm_message' => 'Event-101 fatal stack error on PRI 001', 'alarm_datetime' => '2006-03-27 15:10:06', 'alarm_authority' => undef, 'alarm_desc' => ' ', 'alarm_info' => ' ContactSensor:INPUT2', 'alarm_sitename' => 'Gadens_Melb', 'alarm_source_id' => ' 1234', 'alarm_severity' => 'Critical', 'alarm_source' => ' ', 'recipients' => undef }; $VAR2 = { 'received_through' => 'DIALUP', 'alarm_text' => 'Telecom Guard = ID = 567 recipients = 043562727 212121909 2131311313 2006-06-05 17.30 Event-101-telecomfatalstack error password 2341 DIALU +P ', 'source_id' => 2, 'alarm_type' => undef, 'alarm_message' => undef, 'alarm_datetime' => undef, 'alarm_authority' => undef, 'alarm_desc' => undef, 'alarm_info' => undef, 'alarm_sitename' => undef, 'alarm_source_id' => ' 567', 'alarm_severity' => undef, 'alarm_source' => undef, 'recipients' => undef <p>};
Edited by planetscape - added code tags
In reply to array of hashes by perumal
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |