Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: examine cell's content in HTML::TableExtract

by Cristoforo (Curate)
on Mar 26, 2018 at 19:24 UTC ( #1211779=note: print w/replies, xml ) Need Help??


in reply to examine cell's content in HTML::TableExtract

Perhaps marto has given the better way as I'm not familiar with Mojo::DOM. You might try to get rid of all the text after a carriage return.
for my $rox ($table->rows) { print join(',' , map {s/\n.*//sr} @$rox), "\n"; }

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1211779]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2020-09-24 16:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If at first I donít succeed, I Ö










    Results (134 votes). Check out past polls.

    Notices?