The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.
#!/usr/bin/perl
use strict;
use warnings;
use YAML;
use Web::Scraper::Config;

my $nick = shift || "lestrrat";
my $uri  = URI->new("http://twitter.com/$nick");

my $s = Web::Scraper::Config->new('eg/twitter-friends.yml');
my $friends = $s->scrape($uri);

warn Dump $friends;