My interpretation is that Dumper is dumping you a string that was produced from the stringization of a hash reference. Note the single-quotes surrounding the body of the dumped output and the embedded newline.

Win8 Strawberry 5.8.9.5 (32) Fri 05/07/2021 19:46:25 C:\@Work\Perl\monks >perl -Mwarnings use Data::Dumper; my $hr = { qw(one uno two dos) }; my $request = "$hr\n"; # stringize a hash ref, end in newline print Dumper $request; print Dumper %$request; ^Z $VAR1 = 'HASH(0x333824) ';
(Update: So I'd say that the unkosher '(' comes from the opening paren in 'HTTP::Request=HASH(0x1c23960)'.)

As to the

print Dumper %$request; $VAR1 = '4/8 ';
part, I can't reproduce it, but note that enabling strictures throws an error for the %$request expression (do you have strict enabled?), and that the following stringization gives the number of hash "bins" used versus those currently allotted for the hash:
Win8 Strawberry 5.8.9.5 (32) Fri 05/07/2021 20:03:42 C:\@Work\Perl\monks >perl -Mstrict -Mwarnings use Data::Dumper; my $hr = { qw(one uno two dos) }; my $bins = '' . %$hr; print Dumper $bins; ^Z $VAR1 = '2/8';
(Update: I.e., '2/8' is a feature of the stringization of hashes and has nothing to do with Data::Dumper:
Win8 Strawberry 5.8.9.5 (32) Fri 05/07/2021 20:15:42 C:\@Work\Perl\monks >perl -Mstrict -Mwarnings my %hash = qw(one uno two dos); print '' . %hash; ^Z 2/8
Note that details of this behavior changed somewhere between versions 5.8 and 5.30.)


Give a man a fish:  <%-{-{-{-<


In reply to Re: Data::Dumper output by AnomalousMonk
in thread Data::Dumper output by Bod

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.