in reply to Re: (jeffa) Re: Arrays
in thread How do I reset an array?
That line just calls the sub and puts whatever is returned into @array. If you wanted to store a reference to a sub you would do this:
my $subref = \&getarray;
|
---|
In Section
Seekers of Perl Wisdom