R
robb
Hi,
I want to write a sub that returns a list of items so that the syntax
would like this:
my ($thing_one, $thing_two, $thing_three) = MyPackage->my_sub();
Is it possible to write a sub that can be used in this way? I haven't
figured it out.
Thanks.
I want to write a sub that returns a list of items so that the syntax
would like this:
my ($thing_one, $thing_two, $thing_three) = MyPackage->my_sub();
Is it possible to write a sub that can be used in this way? I haven't
figured it out.
Thanks.