Code:
#!/usr/local/bin/perl
@food = ("apples", "pears", "eels");
#$l=push(@food, "eggs", "lard");
#($a, $b) = @food;
#$f ="@food";
#print $b;
#($a, $b) = ($c, $d);
print @food."";
output:
3
by which rule it prnts like this ?
i know a rule which has "." at the append.
the rule is
$a = $b . $c; # Concatenate $b and $c
but the above output does not obey this .
will you please tell me how this output comes ?