benlaw has asked for the wisdom of the Perl Monks concerning the following question:
mm , but the results shows @Zone obtains all the array list(i.e. @Zone contains all data of @Zone, @RevZone, @RevZoneShow ,###in textgrab.pm , 3 array lists contains different data sub GetZone{ . . . return @Zone, @reverseZone, @reverseZoneShow; } ### in main.pl ... my $obj=new textgrab; (@Zone, @RevZone, @RevZoneShow)=$obj->GetZone();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: problem : return an array list
by Kanji (Parson) on Mar 31, 2002 at 04:52 UTC | |
|
Re: problem : return an array list
by Ryszard (Priest) on Mar 31, 2002 at 05:41 UTC | |
|
Re: problem : return an array list
by jepri (Parson) on Mar 31, 2002 at 13:59 UTC | |
by Juerd (Abbot) on Mar 31, 2002 at 15:00 UTC |