Frederic Bournival wrote, on
: sub GetText {
:
: my $this = shift @_;
:
: my %temp = %$this-{mimeparts};
:
: return $temp{'text'};
:
: }
: The problem is in the GetText SUB...
: $this-{mimeparts}is an Hash Array and
: i want to get the value of this hash with the 'html' key
my %hasharray=%{$this-{mimeparts}};
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
Frederic Bournival
Sent: Monday 11 March 2002 15:21
To: Perl Win32-users
Subject: How to Get Hash Array into an Object
Hello,
i really need your help...
Joseph P. Discenza [[EMAIL PROTECTED]] wrote:
Frederic Bournival wrote
: $this-{mimeparts}is an Hash Array and
: i want to get the value of this hash with the 'html' key ...
Does this not work?
return $this-{'mimeparts'}{'html'};
No, there is a reference operator missing,
Thomas Bätzler wrote, on Monday, March 11, 2002 10:46 AM
: Joseph P. Discenza [[EMAIL PROTECTED]] wrote:
: Frederic Bournival wrote
: : $this-{mimeparts}is an Hash Array and
: : i want to get the value of this hash with the 'html' key ...
:
: Does this not work?
:
: return