Menu

#24 Incorrect display of array

Devel-ptkdb-1.1x
open
nobody
array (1)
5
2017-04-11
2017-02-23
No

Add expression "@m".

push @m, [1, 2, "three"];
print "One Element:", Dumper(@m);
push @m, [3, 4, "five"];
print "Two Elements:", Dumper(@m);

After first push array m shows 3 elements instead of 1 element with an array of 3 elements.
After second push array m shows 2 elements correctly.
Data::Dumper always displays correctly.
Debugging with -d, instead of -d:ptkdb, displays correctly.

Discussion

  • Mmarazzi

    Mmarazzi - 2017-03-25

    Well, you are right! Fortunatly the output of the Quick expr ist correct and the one of the Evaluate expression window ist correct too!
    I will take a look at this problem ...

     
  • Mmarazzi

    Mmarazzi - 2017-04-11

    The problem has been fixed in version 1.235 that will be available in few days.

     

Log in to post a comment.

MongoDB Logo MongoDB