in reply to Anon. array of refs to a range generated list of scalars.
The first two prints yield the same results as expected, but the second two yield different results:use Data::Dumper; print Dumper [(3,4,5,6)]; print Dumper [(3 .. 6)]; print Dumper [\(3,4,5,6)]; print Dumper [\(3 .. 6)];
[\(3,4,5,6)] yields $VAR1 = [\3,\4,\5,\6]; [\(3 .. 6)] yields $VAR1 = [[3,4,5,6]];If i had to take a guess, i would say that the range operator is yielding some scwoowey wesults ...
jeffa
shhhh ... be vewy vewy quiet ... i'm hunting bugs ...
|
|---|