Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

marto's scratchpad

by marto (Bishop)
on Jun 02, 2004 at 07:58 UTC ( #359256=scratchpad: print w/replies, xml ) Need Help??

#!/usr/bin/perl use strict; use warnings; use feature 'say'; use Mojo::DOM; use Path::Tiny; my $html = path('dp.html')->slurp; my $dom = Mojo::DOM->new( $html ); for my $e ( $dom->find('tr td')->grep(sub { $_->all_text =~ /bert/})-> +each){ say $e->text; }
Log In?

What's my password?
Create A New User
[LanX]: Socrates was a Troll
[Your Mother]: It's very, very dangerous... Thinking that a group is intrinsically evil... buries the fact that all humans can be so deep that it starts to become likely they will be.
[Your Mother]: LanX++
[Corion]: (also the "troll for trolls sake" could seen be much like the "punk for punks beer")
[Your Mother]: I'm completely (historically anyway) a troll in real life. It's not fun online, you can't really win. :P
Happy-the-monk orders a Punk IPA.
[Your Mother]: Also, I'm too old to start fights with strangers anymore.
[LanX]: concentrating on omestic violence?
[LanX]: d
[Your Mother]: Open air violence. Or on campus.

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (16)
As of 2018-03-19 13:45 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (240 votes). Check out past polls.