Mojo::Cloudflare::RecordSet - A set of Mojo::Cloudflare::Record objects
Mojo::Cloudflare::RecordSet holds a list of Mojo::Cloudflare::Record objects.
@records = $self->all;
Returns a list of Mojo::Cloudflare::Record objects.
$record = $self->single(sub { $_->name =~ /^foo/ });
Used find a single record from "all". undef is returned if no records match.
undef
NOTE! This will only return the first record found.
Copyright (C) 2014, Jan Henning Thorsen
This program is free software, you can redistribute it and/or modify it under the terms of the Artistic License version 2.0.
Jan Henning Thorsen - jhthorsen@cpan.org
jhthorsen@cpan.org
To install Mojo::Cloudflare, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mojo::Cloudflare
CPAN shell
perl -MCPAN -e shell install Mojo::Cloudflare
For more information on module installation, please visit the detailed CPAN module installation guide.