Group
Extension

Matches 1301

match-simple ( T/TO/TOBYINK/match-simple-0.012.tar.gz, TOBYINK, 2023; MetaCPAN )
match-simple/lib/match/smart.pm ( view source; MetaCPAN )
	my @mro = @{ mro::get_linear_isa( ref $obj ) };
	for my $class ( @mro ) {
		my $name = "$class\::(~~";
		my $overload = do {
			no strict 'refs';
			exists( &$name ) ? \&$name : undef;
		};
		return 
  
   if (match($this, $that))
   {
      say "$this matches $that";
   }

=head2 Differences with ~~

There were major changes to smart match between 5.10.0 and 5.10.1. This
module attempts to emulat
smart's operator does not.

   @foo ~~ %bar       # means: \@foo ~~ \%bar
   @foo |M| %bar      # means: scalar(@foo) |M| scalar(%bar)

If you want the C<< \@foo ~~ \%bar >> behaviour, you need to add
Perinci-Sub-Gen-AccessTable ( P/PE/PERLANCAR/Perinci-Sub-Gen-AccessTable-0.594.tar.gz, PERLANCAR, 2024; MetaCPAN )
Perinci-Sub-Gen-AccessTable/lib/Perinci/Sub/Gen/AccessTable.pm ( view source; MetaCPAN )
lters, [$f, $ftype, "~~", $args->{"$f.has"}, $ftype, $cic];
        }
        if (defined $args->{"$f.lacks"}) {
            $exists++;
            push @filters, [$f, $ftype, "!~~", $args->{"$f.lacks
q 'truth') {
                    next REC if $r_h->{$f} xor $opn;
                } elsif ($op eq '~~') {
                    if ($stringy) {
                        if ($cic) {
                      
} @{$r_h->{$f}};
                        }
                    }
                } elsif ($op eq '!~~') {
                    if ($stringy) {
                        if ($cic) {
                      
Mail-SpamAssassin ( G/GB/GBECHIS/Mail-SpamAssassin-4.0.2.tar.gz, GBECHIS, 2025; MetaCPAN )
Mail-SpamAssassin/spamd-apache2/bin/Bench-spamd.pl ( view source; MetaCPAN )
empfoo;
my $start = [gettimeofday];

while ($mux->handles < $opt{conc} && new_conn()) {
    ##warn ~~ $mux->handles();
    die if $mux->handles > $opt{conc};
}
$mux->loop;

my $howlong = tv_interval($
Travel-Status-DE-VRR ( D/DE/DERF/Travel-Status-DE-VRR-3.15.tar.gz, DERF, 2025; MetaCPAN )
Travel-Status-DE-VRR/lib/Travel/Status/DE/EFA/Result.pm ( view source; MetaCPAN )
 shift(@via_main);

			# FIXME cannot smartmatch $stop since it became an object
			#			if ( $stop ~~ \@via_show or $stop == $last_stop ) {
			#				next;
			#			}
			push( @via_show, $stop );
		}
	}

DBIx-DBO ( V/VL/VLYON/DBIx-DBO-0.50.tar.gz, VLYON, 2025; MetaCPAN )
DBIx-DBO/lib/DBIx/DBO/DBD.pm ( view source; MetaCPAN )
func;
                    use warnings 'uninitialized';
#                    next unless $fld_func ~~ $whs[$i][2];
                    my $l = $whs[$i][1];
                    next if ((ref $l eq 'ARR
Y' ? "@$l" : $l) ne (ref $fld eq 'ARRAY' ? "@$fld" : $fld));
#                    next unless $fld ~~ $whs[$i][1];
                    push @ary, $class->_build_where_piece($me, $bind, @{splice @whs, 
Text-CSV ( I/IS/ISHIGAKI/Text-CSV-2.06.tar.gz, HMBRAND, 2025; MetaCPAN )
Text-CSV/Text-CSV-0.007/t/45_eol.t ( view source; MetaCPAN )
     if ($expect.defined && $expect ~~ m/ "\r\n" /) {
                        my $r = $expect;
                        my $n = $expect;
                        $n ~~ s:g{ "\r\n" } = "\n";
            
Text-CSV ( I/IS/ISHIGAKI/Text-CSV-2.06.tar.gz, HMBRAND, 2025; MetaCPAN )
Text-CSV/Text-CSV-0.007/t/30_field.t ( view source; MetaCPAN )
);
my $n = +$f;
ok ($n ~~ Num,                "Undefined in Numeric context type");
is ($n.defined,   False,      "Undefined in Numeric context defined");
my $s = ~$f;
ok ($s ~~ Str,                "U
Text-CSV ( I/IS/ISHIGAKI/Text-CSV-2.06.tar.gz, HMBRAND, 2025; MetaCPAN )
Text-CSV/Text-CSV-0.007/t/41_null.t ( view source; MetaCPAN )

    "0\n\0",
    "\0\n\0",
    );
my %exp;
for @pat -> $pat {
    my $x = $pat;
    $x ~~ s:g/\0/\\0/;
    $x ~~ s:g/\n/\\n/;
    %exp{$pat} = $x;
    }
my Str @line = ("", Str, "0\n", "", "\0\0\n0")
Image-ExifTool ( E/EX/EXIFTOOL/Image-ExifTool-13.36.tar.gz, EXIFTOOL, 2025; MetaCPAN )
Image-ExifTool/lib/Image/ExifTool/Writer.pl ( view source; MetaCPAN )
l has access to @val if required)
        }
        # evaluate advanced formatting expression if given (eg. "${TAG;EXPR}")
        if (defined $expr and defined $val) {
            local $SIG{'__WARN_
Data-Tools ( C/CA/CADE/Data-Tools-1.49.tar.gz, CADE, 2025; MetaCPAN )
Data-Tools/lib/Data/Tools/Time.pm ( view source; MetaCPAN )
n ISO8601
  return $dow;           # return Mon=1 as in ISO8601
}

# return month days count for given ( year, month ) (not strictly julian_ namespace)
sub julian_date_month_days_ym
{
  my $y = shift;
Astro-satpass ( W/WY/WYANT/Astro-satpass-0.133_01.tar.gz, WYANT, 2025; MetaCPAN )
Astro-satpass/lib/Astro/Coord/ECI/Utils.pm ( view source; MetaCPAN )
turns the Greenwich hour angle of the mean equinox at
0 hours universal on the day whose time is given (i.e. the argument is
a standard Perl time).

=cut

sub theta0 {
    my ($time) = @_;
    my @t =
Convert-Binary-C ( M/MH/MHX/Convert-Binary-C-0.86.tar.gz, MHX, 2025; MetaCPAN )
Convert-Binary-C/tests/include/pdclib/include/stdio.h ( view source; MetaCPAN )
IB_PUBLIC int puts( const char * s );

/* Push the value c (cast to unsigned char) back onto the given (input) stream.
   A character pushed back in this way will be delivered by subsequent read
   op
Net-SIP ( S/SU/SULLR/Net-SIP-0.839.tar.gz, SULLR, 2025; MetaCPAN )
Net-SIP/lib/Net/SIP/Simple.pm ( view source; MetaCPAN )
          - alias for domain2proxy
# Returns: $self
# Comment:
# FIXME
# If more than one leg is given (e.g. legs+outgoing_proxy) than you have
# to provide a function to find out, which leg is used t
Net-SIP ( S/SU/SULLR/Net-SIP-0.839.tar.gz, SULLR, 2025; MetaCPAN )
Net-SIP/lib/Net/SIP/Request.pod ( view source; MetaCPAN )
ponse will
be based on the request, but can be added or overridden using \%HEADER.
If MSG is not given (e.g. argument is missing, second argument is \%HEADER
already) a builtin message for the code wi
Mail-SpamAssassin ( G/GB/GBECHIS/Mail-SpamAssassin-4.0.2.tar.gz, GBECHIS, 2025; MetaCPAN )
Mail-SpamAssassin/lib/Mail/SpamAssassin/NetSet.pm ( view source; MetaCPAN )
->{pt}->add_string($key, $exclude ? '!'.$key : $key)
      } or warn "netset: illegal IP address given (patricia trie): ".
                "'$key': $@\n";
    }

    $cidr .= '/' . $masklen  if define
IO-Prompter ( D/DC/DCONWAY/IO-Prompter-0.005004.tar.gz, DCONWAY, 2025; MetaCPAN )
IO-Prompter/lib/IO/Prompter.pm ( view source; MetaCPAN )
range of actions, each of
which is specified by keying a unique letter, like so:

    INPUT:
    given (prompt '[S]ave, (R)evert, or (D)iscard:', -default=>'S') {
        when (/R/i) { revert_file()  
     { goto INPUT;    }
    }

This can be cleaned up (very slightly) by using a guarantee:

    given (prompt '[S]ave, (R)evert, or (D)iscard:', -default=>'S',
                  -guarantee=>qr/[SRD]/
Prompter provides an option that extracts this
information directly from the prompt itself:

    given (prompt '[S]ave, (R)evert, or (D)iscard:', -keyletters) {
        when (/R/i) { revert_file()  }
App-Music-ChordPro ( J/JV/JV/App-Music-ChordPro-6.080.1.tar.gz, JV, 2025; MetaCPAN )
App-Music-ChordPro/lib/ChordPro/lib/SVGPDF/Contrib/Bogen.pm ( view source; MetaCPAN )
xis pointing "northwest". 
The default value is 0 (no rotation).

=item 'full' => color_spec

If given (no default), draw the full ellipse (not just the arc) 
in this color, with a dot at its center. 
MIDI-Drummer-Tiny ( G/GE/GENE/MIDI-Drummer-Tiny-0.6012.tar.gz, GENE, 2025; MetaCPAN )
MIDI-Drummer-Tiny/lib/MIDI/Drummer/Tiny/Tutorial/Advanced.pod ( view source; MetaCPAN )
s
defines what to do (or not do) given the digit of the beat-string.
For C<0>, we rest - for the given (or default) duration. For C<1>, we
add a note to the score.

This "vary" option can be made up o
Net-HTTP ( O/OA/OALDERS/Net-HTTP-6.24.tar.gz, OALDERS, 2025; MetaCPAN )
Net-HTTP/lib/Net/HTTP.pm ( view source; MetaCPAN )
ive> might also be added depending on the status of the
C<keep_alive> attribute.

If $content is given (and it is non-empty), then a C<Content-Length>
header is automatically added unless it was alrea
SPVM-Resource-Zlib ( K/KI/KIMOTO/SPVM-Resource-Zlib-1.004.tar.gz, KIMOTO, 2025; MetaCPAN )
SPVM-Resource-Zlib/original.tmp/zlib/contrib/iostream2/zstream.h ( view source; MetaCPAN )
       gzFile fp() { return m_fp; }

    private:
        gzFile m_fp;
};

/*
 * Binary read the given (array of) object(s) from the compressed file.
 * If the input file was not in gzip format, read(
       }

    private:
        gzFile m_fp;
        ostrstream* m_os;
};

/*
 * Binary write the given (array of) object(s) into the compressed file.
 * returns the number of uncompressed bytes actual

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.