Thank you very much.That did work. A prime example of how painful being
a newbie can be :)
Ahmer
-Original Message-
From: Amit Kulkarni [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 17, 2004 11:07 PM
To: [EMAIL PROTECTED]
Subject: Re: Subroutine return values mixed.
HI ,
You need
HI ,
You need to declare @array "as my @array" after line 14 in subroutine.
13 sub color {
14 $map1 = shift;
#NEW LINE- my @array ;
15 foreach $item(keys %$map1)
16 { push @array, $item;}
17 return [EMAIL PROTECTED];
18}
Regards
---