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

( keep:0 edit:25 reap:0 )


In reply to array of hashes by perumal

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.