From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

NAME

Net::isoHunt - Access isohunt.com from Perl

VERSION

version 0.102770

SYNOPSIS

my $ih = Net::isoHunt->new();
my $ih_request = $ih->prepare_request( { 'ihq' => 'ubuntu' } );
$ih_request->start(21);
$ih_request->rows(20);
$ih_request->sort('seeds');
my $ih_response = $ih_request->execute();
print 'Title: ', $ih_response->title(), "\n";
print 'Description: ', $ih_response->description(), "\n";
my $image = $ih_response->image();
print 'Image title: ', $image->title(), "\n";
print 'Image URL: ', $image->url(), "\n";
my @items = @{ $ih_response->items() };
my $item = shift @items;

ATTRIBUTES

new

Constructs and returns a Net::isoHunt object.

METHODS

prepare_request

Returns a Net::isoHunt::Request object based on the arguments passed. Accepts a hash reference. Valid arguments are listed in Net::isoHunt::Request. ihq is required.

AUTHOR

Alan Haggai Alavi <alanhaggai@alanhaggai.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2010 by Alan Haggai Alavi.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.