-
Notifications
You must be signed in to change notification settings - Fork 577
Devel::Peek docs may contain incorrect examples #16924
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
From @jimavThis is a bug report for perl from jim.avera@gmail.com, The pod for Devel::Peek contains many illustrations of references "A reference to a simple scalar use Devel::Peek; The output: This confused me mightly because the examples consistently showed I had to download the perl source code and root around in it for Still, those examples in the Devel::Peek pod cast darkness rather than light Of course, I may well be missing something fundamental and/or mis-reading Thanks, Flags: Site configuration information for perl 5.26.2: Configured by Ubuntu at Mon Nov 19 15:05:42 UTC 2018. Summary of my perl5 (revision 5 version 26 subversion 2) configuration: Locally applied patches: @INC for perl 5.26.2: Environment for perl 5.26.2: |
From @jimavUnrelatedly: The Devel::Peek pod says The addresses inside IV() are addresses of "X***" Looking at Perl_do_sv_dump(), the value inside the (parens) is The address inside IV() is used to compute where (roughtly |
From @jkeenanOn Wed, 03 Apr 2019 21:51:31 GMT, jim.avera@gmail.com wrote:
[snip] Grepping the source code ... ##### The situations that appear to be problematic are the pairs of line starting at lines 319, 472 and 493. The other four pairs appear to be okay per your criterion. Would you be able to draw a patch, preferably against perl 5 blead, changing the same code in those three instances? (Note: I'm proceeding on the assumption that your criticism is valid. I don't know enough about Devel::Peek to confirm or deny that; others will have to make that call.) Thank you very much. -- |
The RT System itself - Status changed from 'new' to 'open' |
@jimav, there's been no discussion in this ticket in more than 3 years. Is this still a problem for you? |
Migrated from rt.perl.org#133984 (status was 'open')
Searchable as RT133984$
The text was updated successfully, but these errors were encountered: