in reply to add records to a matrix
If you take a look at the perlop page, you'll see that the qw operator does not interpolate variables.
Therefore, the best way would probably be to eliminate the qw, and change
topush @X,[qw($sv $sr $sj)];
Hope that helped,push @X,[$sv,$sr,$sj];
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: add records to a matrix
by Anonymous Monk on Nov 29, 2004 at 14:00 UTC |