in reply to Re^2: Duplicate variable returned from sub
in thread Duplicate variable returned from sub
You could make this explicit by using:
or refactoring someFunction() if that makes sense.my (undef, $var2, $var3, $var1) = someFunction($var4);
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Duplicate variable returned from sub
by Zenzizenzizenzic (Pilgrim) on Sep 23, 2019 at 17:17 UTC | |
by AnomalousMonk (Archbishop) on Sep 23, 2019 at 22:07 UTC |
In Section
Seekers of Perl Wisdom