- SEE ALSO
- COPYRIGHT AND LICENSE
CPAN::Testers::Schema::ResultSet::Upload - Query the CPAN uploads data
my $rs = $schema->resultset( 'Upload' ); $rs->by_dist( 'My-Dist' ); $rs->by_author( 'PREACTION' ); $rs->since( '2016-01-01T00:00:00' );
This object helps to query the CPAN uploads table. This table tracks uploads to CPAN by distribution, version, and author, and also flags distributions that have been deleted from CPAN (and are thus only available on BackPAN).
$rs = $rs->by_dist( 'My-Dist' );
Add a dist constraint to the query, replacing any previous dist constraints.
$rs = $rs->by_author( 'PREACTION' );
Add an author constraint to the query, replacing any previous author constraints.
$rs = $rs->since( '2016-01-01T00:00:00' );
Restrict results to only those that have been updated since the given ISO8601 date.
# 20 most recent $rs = $rs->recent( 20 ); # Just the most recent $rs = $rs->recent( 1 );
Return the most-recently released distributions sorted by their release date/time, descending. Defaults to returning up to 20 results.
Oriol Soriano <email@example.com>
Doug Bell <firstname.lastname@example.org>
This software is copyright (c) 2018 by Oriol Soriano, Doug Bell.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.