Group
Extension

Matches 1354

PPI ( O/OA/OALDERS/PPI-1.284.tar.gz, OALDERS, 2025; MetaCPAN )
PPI/lib/PPI/Statement/Given.pm ( view source; MetaCPAN )
t::Given;

=pod

=head1 NAME

PPI::Statement::Given - A given-when statement

=head1 SYNOPSIS

  given ( foo ) {
      say $_;
  }

=head1 INHERITANCE

  PPI::Statement::Given
  isa PPI::Statement
   
perl ( E/EH/EHERMAN/perl-5.43.4.tar.gz, DOM, 2025; MetaCPAN )
perl/pod/perlfaq7.pod ( view source; MetaCPAN )
tatement?

In Perl 5.10, use the C<given-when> construct described in L<perlsyn>:

	use 5.010;

	given ( $string ) {
		when( 'Fred' )        { say "I found Fred!" }
		when( 'Barney' )      { say "I fo
perl ( E/EH/EHERMAN/perl-5.43.4.tar.gz, DROLSKY, 2025; MetaCPAN )
perl/lib/perl5db.pl ( view source; MetaCPAN )
nes to list (a windowful).
        $incr = $window - 1;

        # Set the start to the argument given (if there was one).
        $start = $1 if $1;

        # Back up by the context amount.
        
perl ( E/EH/EHERMAN/perl-5.43.4.tar.gz, DROLSKY, 2025; MetaCPAN )
perl/pod/perlhacktips.pod ( view source; MetaCPAN )
NV{PERL_MEM_LOG} =~ /t/		include timestamp in Log
    $ENV{PERL_MEM_LOG} =~ /^(\d+)/	write to FD given (default is 2)

Memory logging is somewhat similar to C<-Dm> but is independent of
C<-DDEBUGGING>
perl ( E/EH/EHERMAN/perl-5.43.4.tar.gz, DROLSKY, 2025; MetaCPAN )
perl/regen_perly.pl ( view source; MetaCPAN )
 gives the token index of each token/non-terminal; then use this to
# create yy_type_tab.
#
# ie given (in perly.y),
#
#   %token <opval> A
#   %token <ival>  B
#   %type  <pval>  C
#   %type  <opval>
perl ( E/EH/EHERMAN/perl-5.43.4.tar.gz, DROLSKY, 2025; MetaCPAN )
perl/cpan/Unicode-Collate/Collate.pm ( view source; MetaCPAN )
 and C<D>.

=item hangul_terminator

-- see 7.1.4 Trailing Weights, UTS #10.

If a true value is given (non-zero but should be positive),
it will be added as a terminator primary weight to the end of
perl ( E/EH/EHERMAN/perl-5.43.4.tar.gz, DROLSKY, 2025; MetaCPAN )
perl/mad/t/p55.t ( view source; MetaCPAN )
 0;
########
# from t/op/getppid.t
pipe my ($r, $w)
########
# TODO switch
use feature 'switch';
given(my $x = "bar") { }
########
# TODO attribute t/op/attrhand.t
sub something : TypeCheck(
    QNET:
perl ( E/EH/EHERMAN/perl-5.43.4.tar.gz, DROLSKY, 2025; MetaCPAN )
perl/lib/File/Find.pm ( view source; MetaCPAN )
e structure of the directory tree (including symbolic
links to directories) you might traverse a given (physical) directory
more than once (only if C<follow_fast> is in effect).
Furthermore, deleting 
Smart-Match ( L/LE/LEONT/Smart-Match-0.008.tar.gz, LEONT, 2015; MetaCPAN )
Smart-Match/lib/Smart/Match.pm ( view source; MetaCPAN )
 @_;
	return match { return $_ ~~ $match for $sub->() };
}

sub any {
	my @possibilities = @_;
	return match {
		for my $candidate (@possibilities) {
			return 1 if $_ ~~ $candidate;
		}
		return;
	};
rn match { scalar hash and [ sort keys %{$_} ] ~~ [ sort keys %{$hash} ] };
}

sub value {
	my $value = shift;
	return $value if blessed($value);
	given (ref $value) {
		when ('') {
			return $value;
 NAME

Smart::Match - Smart matching utilities

=head1 VERSION

version 0.008

=head1 SYNOPSIS

 given ($foo) {
     say "We've got a positive number" when positive;
     say "We've got an array" when
Crop-Config ( O/OC/OCTAVIANI/Crop-Config-0.1.25.tar.gz, OCTAVIANI, 2025; MetaCPAN )
Crop-Config/lib/Crop/Debug.pm ( view source; MetaCPAN )
output items; if item is a reference, will print dump
=cut
sub debug {
	my $layer = $_[0] && $_[0] ~~ @Layer_const ? shift : DefaultLayer;

	# drop the layer prefix to print in a config-fasion manner
tput OFF
=cut
sub _verbose {
	my $layer = shift;

	my $conf = Crop->C->{debug};
	return 1 unless $conf->{output} eq 'On';
	
	return unless exists $conf->{layer};
	
	$layer ~~ @{$conf->{layer}};
}

1;
SPVM-File-Find ( K/KI/KIMOTO/SPVM-File-Find-0.033.tar.gz, KIMOTO, 2025; MetaCPAN )
SPVM-File-Find/File-Fild-Perl.pm ( view source; MetaCPAN )
e structure of the directory tree (including symbolic
links to directories) you might traverse a given (physical) directory
more than once (only if C<follow_fast> is in effect).
Furthermore, deleting 
Perl-Critic-Pulp ( K/KR/KRYDE/Perl-Critic-Pulp-100.tar.gz, KRYDE, 2025; MetaCPAN )
Perl-Critic-Pulp/lib/Perl/Critic/Policy/ValuesAndExpressions/ProhibitBarewordDoubleColon.pm ( view source; MetaCPAN )
ge names, not general bareword
quoting.  If there's no such package at compile time a warning is given (see
L<perldiag/Bareword "%s" refers to nonexistent package>)

    my $class = No::Such::Package:
Apache2-API ( J/JD/JDEGUEST/Apache2-API-v0.4.0.tar.gz, JDEGUEST, 2025; MetaCPAN )
Apache2-API/lib/Apache2/API/Query.pm ( view source; MetaCPAN )
he current parameter
set.

=item strip_like($regex)

Remove all parameters whose names match the given (qr-quoted) regex e.g.

    $qq->strip_like(qr/^utm/)

Does NOT match against parameter values.

Geoffrey ( M/MZ/MZIESCHA/Geoffrey-0.000206.tar.gz, MZIESCHA, 2025; MetaCPAN )
Geoffrey/lib/Geoffrey/Action/Table.pm ( view source; MetaCPAN )
 {
    return $_[0]->{postfix} // q~~ if !defined $_[1];
    $_[0]->{postfix} = $_[1];
    return $_[0]->{postfix};
}

sub prefix {
    return $_[0]->{prefix} // q~~ if !defined $_[1];
    $_[0]->{pre
App-SeismicUnixGui ( G/GL/GLLORE/App-SeismicUnixGui-0.87.5.tar.gz, GLLORE, 2025; MetaCPAN )
App-SeismicUnixGui/lib/App/SeismicUnixGui/sunix/shapeNcut/susplit.pm ( view source; MetaCPAN )
 the directory in which perl thinks the code is running.

 2. If a list of su_base_file_names is given (in $DATA_SEISMIC_TXT)
 split files are written to $DATA_SEISMIC_SU.

 3. If an su_base_file_name
Astro-satpass ( W/WY/WYANT/Astro-satpass-0.134.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 =
App-SeismicUnixGui ( G/GL/GLLORE/App-SeismicUnixGui-0.87.5.tar.gz, GLLORE, 2025; MetaCPAN )
App-SeismicUnixGui/sunix/shapeNcut/susplit.pm ( view source; MetaCPAN )
ten to 
 the directory perl thinks the code is running .

 2. If a list of su_base_file_names is given (in $DATA_SEISMIC_TXT)
 split files are written to $DATA_SEISMIC_SU.

 3. If an su_base_file_name
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($
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
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;

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