i want to create an hash with the above info taking only the elements before "=" as keys and after "=" as values and omit other lines which do have "=" in them.$scalar = "a = ID = 1234 <<Start of info>> b=Gadens_Melb c= d= e=2006-03-27 15:10:06 f= ContactSensor:INPUT2 g=Critical h=Event-101 fatal stack error on PRI 001 <<End of info>>"
edit (broquaint): added <code> tags.
In reply to hashes recursively by perumal
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |