The calling context is important. Consider:
use warnings; use strict; my $result = get_values (); print "$result\n"; my @results = get_values (); print "@results"; sub get_values { return ("a", "b", "c"); }
Prints:
c a b c
In reply to Re: Ignore certain return values
by GrandFather
in thread Ignore certain return values
by elTriberium
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |