Hi, Thanks for the help. I was able to resolve \b issue. But now I am running into similar territory again. :(

1) In one of the data (array reference) being obtained by me, I am getting something like below: (Dumper output for an array reference)

$VAR1 = [ " \n" ];

2) the same when printed using Data::Dumper->Dump($arrayReference) gave me following:

$VAR2 = " \n";

And scalar (@$arrayReference) returned 2.

a) Just wondering in what case $VAR1 will not be showing at all? There are two elements and none of the output above, mention about one element at all.

b) What is the best way to get the Data Dump? Am I missing something? till now I had pretty good vibe about Data::Dumper.

Note: here $Data::Dumper::Useqq = 1; too

I am also trying by using $Data::Dumper::Indent=0 to see if that gives me some clue about space or something in Dumper output. But not sure if that will really be helpful for that hidden element.

My sincere apologies for such trivial questions. and thanks a lot for your time.


In reply to Re^2: trying to identify the exact data stored from dump - [ ' ]; by asham
in thread trying to identify the exact data stored from dump - [ ' ]; by asham

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.