in reply to passing an array and some scalars to a subroutne
The value of @_ doesn't change between these two lines. That means that the first four values of @lines are going to be the same as the four variables you grab on the first line. Is that what you are trying to do, or is the value of @lines supposed to be the arguments after those four?my ($id_snp, $id_assay, $session, $load_set) = @_; #these variables my (@lines) = @_; #this array
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: passing an array and some scalars to a subroutne
by Anonymous Monk on Mar 06, 2009 at 14:27 UTC |