You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
@list1= (1..100);
|
|
@list2 = (5..200);
|
|
|
|
display(@list1, @list2); # Pass two arrays
|
|
|
|
print "-" x 35,"\n";
|
|
|
|
display(\@list1, \@list2); # Pass two pointers
|
|
|
|
sub display{
|
|
print "@_\n";
|
|
} |