| 1 | 3 | ▶ | use 5.20.0; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 2 | 3 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 3 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | package DBIx::Class::Smooth::Lookup::Operators::lte; | ||
| 6 | |||
| 7 | # ABSTRACT: Short intro | ||
| 8 | 3 | our $AUTHORITY = 'cpan:CSSON'; # AUTHORITY | |
| 9 | 3 | our $VERSION = '0.0105'; | |
| 10 | |||
| 11 | 3 | ▶ | use parent 'DBIx::Class::Smooth::Lookup::Util'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 12 | 3 | ▶ | use experimental qw/signatures postderef/; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 13 | |||
| 14 | ▶ | sub smooth__lookup__lte($self, $column_name, $value, @rest) { | |
|
Subroutine
smooth__lookup__lte: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 15 | 0 | $self->smooth__lookup_util__ensure_value_is_scalar('lte', $value); | |
| 16 | |||
| 17 | 0 | return { sql_operator => '<=', operator => '<=', value => $value }; | |
| 18 | } | ||
| 19 | |||
| 20 | 3 | 1; | |
| 21 | |||
| 22 | __END__ | ||
| 23 | |||
| 24 | =pod | ||
| 25 | |||
| 26 | =encoding UTF-8 | ||
| 27 | |||
| 28 | =head1 NAME | ||
| 29 | |||
| 30 | DBIx::Class::Smooth::Lookup::Operators::lte - Short intro | ||
| 31 | |||
| 32 | =head1 VERSION | ||
| 33 | |||
| 34 | Version 0.0105, released 2020-09-20. | ||
| 35 | |||
| 36 | =head1 SOURCE | ||
| 37 | |||
| 38 | L<https://github.com/Csson/p5-DBIx-Class-Smooth> | ||
| 39 | |||
| 40 | =head1 HOMEPAGE | ||
| 41 | |||
| 42 | L<https://metacpan.org/release/DBIx-Class-Smooth> | ||
| 43 | |||
| 44 | =head1 AUTHOR | ||
| 45 | |||
| 46 | Erik Carlsson <info@code301.com> | ||
| 47 | |||
| 48 | =head1 COPYRIGHT AND LICENSE | ||
| 49 | |||
| 50 | This software is copyright (c) 2018 by Erik Carlsson. | ||
| 51 | |||
| 52 | This is free software; you can redistribute it and/or modify it under | ||
| 53 | the same terms as the Perl 5 programming language system itself. | ||
| 54 | |||
| 55 | =cut | ||