in reply to Store data into array by looping?
... a quick fix is to use push because it must already be in a loop
$gate_type = $1; $gate_name = $2; $output_gate = $3; $input_A = $4; $input_B = $5; push @input_A, $input_A; # column 2
be warned that this will collect over all modules in your file.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
|
---|