http://qs321.pair.com?node_id=164425


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;