
7stud
Enthusiast
Apr 2, 2010, 11:04 AM
Post #3 of 3
(1252 views)
|
Re: [bettertony] a problem of subroutine
[In reply to]
|
Can't Post
|
|
1) Search google for 'code tags'. Read the first 10 results and come back and post what you have learned. 2) Declare all variables with my(), e.g.:
my $num; my @numbers; my($num1, $num2) = (3, 4); my %phone_number_for; 3)
ArraySum(/@array1,/@array2)), error happens That isn't how you get a reference for an array. See perlreftut.
(This post was edited by 7stud on Apr 2, 2010, 11:06 AM)
|