Wallflower::Util - Utility functions for Wallflower
use Wallflower; use Wallflower::Util qw( links_from ); # use Wallflower to get a response array my $wf = Wallflower->new( application => $app, destination => $dir ); my $response = $wf->get($url); # obtain links to resources linked from the document my @links = links_from( $response, $url );
This module provides methods to extract links from the files produced by Wallflower's
Returns all links found in the response body, depending on its content type.
$response is the array reference returned by Wallflower's
$url is the base URL for resolving relative links, i.e. the original argument to
Philippe Bruhat (BooK) <firstname.lastname@example.org>
This software is copyright (c) 2015 by Philippe Bruhat (BooK).
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.