{"action":"opened","issue":{"url":"https://api.github.com/repos/houseabsolute/DateTime.pm/issues/24","repository_url":"https://api.github.com/repos/houseabsolute/DateTime.pm","labels_url":"https://api.github.com/repos/houseabsolute/DateTime.pm/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/houseabsolute/DateTime.pm/issues/24/comments","events_url":"https://api.github.com/repos/houseabsolute/DateTime.pm/issues/24/events","html_url":"https://github.com/houseabsolute/DateTime.pm/issues/24","id":188924721,"number":24,"title":"DateTime crashed Devel::ptkdb","user":{"login":"autarch","id":50729,"avatar_url":"https://avatars.githubusercontent.com/u/50729?v=3","gravatar_id":"","url":"https://api.github.com/users/autarch","html_url":"https://github.com/autarch","followers_url":"https://api.github.com/users/autarch/followers","following_url":"https://api.github.com/users/autarch/following{/other_user}","gists_url":"https://api.github.com/users/autarch/gists{/gist_id}","starred_url":"https://api.github.com/users/autarch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/autarch/subscriptions","organizations_url":"https://api.github.com/users/autarch/orgs","repos_url":"https://api.github.com/users/autarch/repos","events_url":"https://api.github.com/users/autarch/events{/privacy}","received_events_url":"https://api.github.com/users/autarch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-12T17:50:32Z","updated_at":"2016-11-12T17:50:32Z","closed_at":null,"body":"Migrated from [rt.cpan.org #116924](https://rt.cpan.org/Ticket/Display.html?id=116924) (status was 'new')\n\nRequestors:\n* Mithun.Bhattacharya@citadel.com\n\nFrom mithun.bhattacharya@citadel.com on 2016-08-12 20:17:05:\n\nDateTime doesn't seem to work nicely with Devel::ptkdb.\n\nFirstly if I monitor a DateTime object it reports a stringified version of the object.\n\nSecondly if a DateTime object is part of a bigger structure - adding the structure to the expression to be monitored simply crashes the GUI.\n\nThis is how I reproduced the error.\n\n<quote>\n$ cat t.pl\nuse DateTime;\n\nmy $dt = DateTime->new(\n    year => 1964,\n    month => 10,\n    day => 16,\n    hour => 16,\n    minute => 12,\n    second => 47,\n);\n\n%arr = (k => $dt);\n\nprint %arr;\n</quote>\n\nIf I step up to line 14 then $dt shows 1964-10-16T16:12:47 and if I try to see %arr then the GUI crashes with the following error.\n<quote>\nA DateTime object can only be compared to another DateTime object (DateTime=HASH(0x3066188), HASH(0x2a1c9c8)). at /cigdev64/borec/ExtData/2.0/opt/perl/lib/perl5/Devel/ptkdb.pm line 2658.\n</quote>\n\nI can run the same script with perl -d and DataDumper correctly shows the complete hash structure of the object both in $dt and %arr without crashing.\n\nI am using DateTime 1.34 Devel:,:ptkdb 1.1091 on perl 5.22.2\n\n\n- Mithun\n\n________________________________\n\n\nCONFIDENTIALITY AND SECURITY NOTICE\n\nThe contents of this message and any attachments may be confidential and proprietary. If you are not an intended recipient, please inform the sender of the transmission error and delete this message immediately without reading, distributing or copying the contents.\n\n"}}
{"actor":{"display_login":"autarch"}}