------------------------------------------------
On Mon, 27 Jan 2003 14:17:36 -0500, Tim Musson <[EMAIL PROTECTED]> wrote:
<snip>
>
> The above code bit works just fine, with the exception of the
> $client->{TO} part. That prints ARRAY(0x1d8a454) and I _think_ that is
> an array reference (right?).
>
Yes that is an array reference, which is likely correct. A message can only be "From"
one place, but could be sent to many, so a "To" requires a list (array) to describe.
> My question is how do I get it to print correctly like the FROM line?
>
You must dereference the array. So something like the following:
print @{$client->{TO}};
Should work. If you want to pull up a comfy chair and do the required reading first,
;-)....check out:
perldoc perlreftut
perldoc perlref
These should sufficiently whet your appetite (and make your head hurt for a while).
http://danconia.org
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]