If you use Dumper as recommended in Basic debugging checklist you can see that no attributes are saved

do { my $a = bless({ _rastamon => sub { ... }, attribs => {}, automap => 1, captured => 1, cc => -1, children => [], count => 0, counts => [0], debug => 0, depth => 0, error_handle => \*main::STDOUT, grid => [ [\"Date", \"Price", \"Comments"], [\"21/9", \2324, \"abc"], [\"21/9", \2324, \"abasdasc"], [\"21/9", \2324, \"absadsadsc"], ], head_found => 1, headers => ["Date", "Price", "Comments"], hits => { "0" => "Date", "1" => "Price", "2" => "Co +mments" }, hits_left => {}, hpat => qr/()/mi, hrow => 'fix', hrow_index => 0, in_cell => 0, in_row => 0, keep_headers => 0, keep_html => 0, lineage => [], order => [0, 1, 2], rc => 3, slice_columns => 1, strip_html_on_match => 1, tattribs => {}, tcount => undef, tdepth => undef, translation => [], umbrella => 0, }, "HTML::TableExtract::Table"); $a->{hrow} = $a->{grid}[0]; $a; }

Checking the module on cpan, particularly the buglist I see Bug #27372 for HTML-TableExtract: Access to row/cell attributes

So there you go, if you want this feature, you'll have to patch the module

Also, please mark your updates , thank you. See How do I change/delete my post?


In reply to Re: How to read onclick properties on row of a table using HTML::Table::Extractor by Anonymous Monk
in thread How to read onclick properties on row of a table using HTML::Table::Extractor by ckj

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.