in reply to Re: Re: Dereference an array reference
in thread Dereference an array reference
actually, methods (and subs in general) can return arraysNo, they can return lists in a list context, or scalars in a scalar context. Nothing else. Cannot return an array.
-- Randal L. Schwartz, Perl hacker
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: Re: Dereference an array reference
by danger (Priest) on Apr 19, 2001 at 11:42 UTC | |
Sub cannot return an array?
by dvergin (Monsignor) on Apr 20, 2001 at 00:53 UTC | |
by tye (Sage) on Apr 20, 2001 at 01:00 UTC | |
by dvergin (Monsignor) on Apr 20, 2001 at 01:08 UTC | |
by tye (Sage) on Apr 20, 2001 at 01:16 UTC | |
by merlyn (Sage) on Apr 20, 2001 at 01:03 UTC | |
by dvergin (Monsignor) on Apr 20, 2001 at 01:25 UTC | |
by tye (Sage) on Apr 20, 2001 at 01:32 UTC |
In Section
Seekers of Perl Wisdom