刚刚遇到以下代码:
use warnings;
use strict;
use Data::Dumper;
use lib './lib/lib/perl5';
use Mojo::DOM;
my $dom = Mojo::DOM->new($html);
my $table = $dom->at('table');
for my $record ($table->children('tr')->each)
my %record = map { $_->text } $record->children('td')->each;
该方法在这里究竟做了at
什么?