Consider the following lines of code:
sub mySub {(
$arg,@args) = @_;
foreach $val (@args) {
SreturnVal .= "$arg, $val\n";
}
SreturnVal."". @args;
}
print SmySub(1 "a value", "another value", "a parameter", "another parameter");
What is the output of these lines of code?
Currently there are no comments in this discussion, be the first to comment!