We don't bite newbies here... much | |
PerlMonks |
set context for method's return valuesby demoralizer (Beadle) |
on Jan 25, 2022 at 06:42 UTC ( [id://11140834]=perlquestion: print w/replies, xml ) | Need Help?? |
demoralizer has asked for the wisdom of the Perl Monks concerning the following question:
Hi folks,
I wonder if it is possible to use a method's return value as an array without pre-storing it into one. This is what I really want to do:
Only solution I found (without storing the values into an array), was:
Is there a common perl-ish way how one can "set" the context for method's return values? Thanks a lot in advance for all your wisdom!
Back to
Seekers of Perl Wisdom
|
|