J
Jack
Hi does anyone know how to do this ?
this works but its only 1 of my 377 chunkarrays !! :
@chunkarray0 = sort {$a <=> $b} @chunkarray0;
this automation doesnt and I cant figure out why:
for ($t=0;$t<=$count;$t++) {
$chunkarray = 'chunkarray'.$t;
$cmd = '@'.$chunkarray.'= sort {$a <=>$b} @'.$chunkarray.';'; print
"COMMAND : ", $cmd."\n";
$cmd;
}
any tips GREATLY appreciated !
this works but its only 1 of my 377 chunkarrays !! :
@chunkarray0 = sort {$a <=> $b} @chunkarray0;
this automation doesnt and I cant figure out why:
for ($t=0;$t<=$count;$t++) {
$chunkarray = 'chunkarray'.$t;
$cmd = '@'.$chunkarray.'= sort {$a <=>$b} @'.$chunkarray.';'; print
"COMMAND : ", $cmd."\n";
$cmd;
}
any tips GREATLY appreciated !