[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Omaha.pm] my $a = blah();



Wow. On a quiz I would have said that this would print "7". Not "8"... I
was sure the 8 would have been silenty ignored.

j


$ cat j.pl
my $a = blah();
print "$a\n";

sub blah {
   return (7,8);
}

$ perl j.pl
8