in reply to Ignore certain return values

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

Perl reduces RSI - it saves typing