in reply to Print Question
With a hash, the key represents the message and could either be any unique value, or possibly even the message_id (if it is unique). Printing it out is then just a matter of looping through the keys, retrieving the values, and printing them.%messages = (1 => { unixfrom => "blah", return_path => "foo@bar.com", received => "blorg", date => "another date", from => "bar@foo.com", to => "you@me.com", subject => "Spam Me Senseless!", message_id => 42, mimeversion => "text/plain", content_type => "text/plain", xstatus => "foop", xkeywords => "spam trash garbage", xuid => 13 } );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Print Question
by theorbtwo (Prior) on May 18, 2003 at 04:10 UTC | |
by edoc (Chaplain) on May 18, 2003 at 14:19 UTC | |
by theorbtwo (Prior) on May 18, 2003 at 18:01 UTC |