Group
Extension

Matches 1309

Kephra ( L/LI/LICHTKIND/Kephra-0.406.tar.gz, LICHTKIND, 2023; MetaCPAN )
Kephra/lib/Kephra/App/Window/Menu.pm ( view source; MetaCPAN )
AppendSeparator();
    $file_menu->Append( 11200, "&Open\tCtrl+O", "create document by loading a given (dialog) file" );
    $file_menu->Append( 11210, "&Reload\tCtrl+Shift+O", "disregard current stat
App-InteractivePerlTutorial ( M/MG/MGV/App-InteractivePerlTutorial-0.000_001.tar.gz, MGV, 2015; MetaCPAN )
App-InteractivePerlTutorial/lib/App/InteractivePerlTutorial/Chapter/Smartmatch/Smartmatch.pm ( view source; MetaCPAN )
Smart Matching';

1;
__DATA__

=encoding utf-8

=head1 Smart matching

Basically, smart matching(C<~~>) look at both his operators and decides what to do with them.

=head3 Table for smart match opera
  %x ~~ %y                       hash keys identical
  %x ~~ @y or @x ~~ %y           at least one key in %x is in @y
  %x ~~ /text/ or /text/ ~~ %y   at least one key matches pattern
  'text' ~~ %x  

  @x ~~ @y                       arrays are the same
  @x ~~ /text/                   at least one element in @x matches pattern
  $name ~~ undef                 $name is not defined
  $name ~~ /text
SemanticWeb-Schema ( R/RR/RRWO/SemanticWeb-Schema-v23.0.0.tar.gz, RRWO, 2023; MetaCPAN )
SemanticWeb-Schema/lib/SemanticWeb/Schema/JobPosting.pm ( view source; MetaCPAN )
::True> if an application process for the specified job can be directly initiated via the url(s) given (noting that e.g. multiple internet domains might nevertheless be involved at an implementation l
Lab-Measurement-Legacy ( A/AK/AKHUETTEL/Lab-Measurement-Legacy-3.904.tar.gz, AKHUETTEL, 2023; MetaCPAN )
Lab-Measurement-Legacy/lib/Lab/Instrument/SR830.pm ( view source; MetaCPAN )
n Hz.

=head2 set_amplitude

  $sr830->set_amplitude(0.005);

Sets output amplitude to the value given (in V); values between 4 mV and 5 V are possible.

=head2 get_amplitude

  $ampl=$sr830->get_ampl
MIDI-Perl ( C/CO/CONKLIN/MIDI-Perl-0.84.tar.gz, CONKLIN, 2023; MetaCPAN )
MIDI-Perl/lib/MIDI/Simple.pm ( view source; MetaCPAN )
eters.

=cut

=item n(...parameters...)  or  $obj->n(...parameters...)

This uses the parameters given (and/or the state variables like
Volume, Channel, Notes, etc) to add a new note to the Score -- o
Tickit ( P/PE/PEVANS/Tickit-0.74.tar.gz, PEVANS, 2023; MetaCPAN )
Tickit/lib/Tickit/Utils.pm ( view source; MetaCPAN )
d2 textwidth

   $cols = textwidth( $str )

Returns the number of screen columns consumed by the given (Unicode) string.

=cut

# Provided by XS

=head2 chars2cols

   @cols = chars2cols( $text, @char
Text-Amuse-Preprocessor ( M/ME/MELMOTHX/Text-Amuse-Preprocessor-0.67.tar.gz, MELMOTHX, 2023; MetaCPAN )
Text-Amuse-Preprocessor/lib/Text/Amuse/Preprocessor.pm ( view source; MetaCPAN )
priate (whatever this means).

=head3 show_nbsp

Make the non-break spaces visible and explicit as ~~ (available on
Text::Amuse since version 0.94).

=head3 fix_footnotes

Rearrange the footnotes if n
x{ad}\s*//g;
        if ($remove_nbsp) {
            $line =~ s/\x{a0}/ /g;
            $line =~ s/~~/ /g;
        }
        if ($fixtypo) {
            $line =~ s/(?<=\.) (?=\.)//g; # collapse the do
  $line = $nbsp_filter->($line);
        }
        if ($show_nbsp) {
            $line =~ s/\x{a0}/~~/g;
        }
        $piece->{string} = $line;
    }
    # write out
    $self->_write_file($outfi
Xorg-XLFD ( W/WO/WOLDRICH/Xorg-XLFD-0.134.tar.gz, WOLDRICH, 2019; MetaCPAN )
Xorg-XLFD/lib/Xorg/XLFD.pm ( view source; MetaCPAN )
t}}, $weight)
      unless $weight ~~ @{$fonts{family}->{$family}->{weight}}; 

    push(@{$fonts{family}->{$family}->{width}}, $avg_width)
      unless $avg_width ~~ @{$fonts{family}->{$family}->{wid
_dpi}}, $v_dpi)
      unless $v_dpi ~~ @{$fonts{family}->{$family}->{vert_dpi}}; 

    push(@{$fonts{family}->{$family}->{horiz_dpi}}, $h_dpi)
      unless $h_dpi ~~ @{$fonts{family}->{$family}->{hori
hs}}, $tenths)
      unless $tenths ~~ @{$fonts{family}->{$family}->{tenths}}; 

    push(@{$fonts{family}->{$family}->{spacing}}, $spacing)
      unless $spacing ~~ @{$fonts{family}->{$family}->{spac
PApp ( M/ML/MLEHMANN/PApp-2.3.tar.gz, MLEHMANN, 2023; MetaCPAN )
PApp/PApp.pm ( view source; MetaCPAN )
tput_charset = lc shift if @_;
}

=item setlocale [$locale]

Sets the locale used by perl to the given (PApp-style) locale string. This
might involve multiple calls to the "real" setlocale which in tu
PApp ( M/ML/MLEHMANN/PApp-2.3.tar.gz, MLEHMANN, 2023; MetaCPAN )
PApp/PApp/XML.pm ( view source; MetaCPAN )
object used to print
                the string.

                If a reference to a coderef is given (e.g. C<\sub {}>),
                the coderef will be called during parsing and the
            
Suck-Huggingface ( T/TT/TTKCIAR/Suck-Huggingface-1.00.tar.gz, TTKCIAR, 2023; MetaCPAN )
Suck-Huggingface/lib/Suck/Huggingface.pm ( view source; MetaCPAN )
->{$name} // $alt_hr->{$name} // $default_value;
}

# approximates python's "in" operator, because ~~ is unsane:
sub in {
    my $v = shift @_;
    return 0 unless (@_ && defined($_[0]));
    if (ref(
Mojolicious-Command-migration ( L/LI/LIKHATSKI/Mojolicious-Command-migration-0.18.tar.gz, LIKHATSKI, 2023; MetaCPAN )
Mojolicious-Command-migration/lib/Mojolicious/Command/migration.pm ( view source; MetaCPAN )
y @args = @_;

	die $self->usage unless my $action = shift @args;
	die $self->usage unless $action ~~ [qw/status prepare install upgrade downgrade rm diff/];

	GetOptionsFromArray \@args,
		'to-versio
MVC-Neaf ( K/KH/KHEDIN/MVC-Neaf-0.2901.tar.gz, KHEDIN, 2023; MetaCPAN )
MVC-Neaf/lib/MVC/Neaf/Route/Main.pm ( view source; MetaCPAN )
efaults

    get_path_defaults ( $methods, $path, [ \%override ... ] )

Fetch default values for given (path, method) combo as a single hash.

=cut

sub get_path_defaults {
    my ($self, $method, $pa
oceeds with application logic.

=head2 find_route( $method, $suffix )

Find subtree that matches given ($method, $suffix) pair.

May die 404 or 405 if no suitable route is found.

Otherwise returns (r
Padre ( S/SZ/SZABGAB/Padre-1.02.tar.gz, SZABGAB, 2023; MetaCPAN )
Padre/lib/Padre/Wx/Main.pm ( view source; MetaCPAN )
'Deparse failed: ' . $err );
	}

	# eg, highlight the code part of the following comment:
	# print ~~ grep { $_ eq 'x' } qw(a b c x);

	return;
}


=pod

=head3 C<on_open_selection>

    $main->on_ope
Padre ( S/SZ/SZABGAB/Padre-1.02.tar.gz, SZABGAB, 2023; MetaCPAN )
Padre/lib/Padre/Wx/Dialog/PluginManager.pm ( view source; MetaCPAN )
	$self->{list}->InsertStringImageItem(
			$index,
			$handle->plugin_name,
			$position,
		);

		given ( $handle->status ) {
			when ( $_ eq 'enabled' )      { $self->{list}->SetItemTextColour( $index
Net-HTTP ( O/OA/OALDERS/Net-HTTP-6.23.tar.gz, OALDERS, 2023; 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
Sub-Go ( R/RO/RODRIGO/Sub-Go-0.01.tar.gz, RODRIGO, 2011; MetaCPAN )
Sub-Go/lib/Sub/Go.pm ( view source; MetaCPAN )

        goto &$old_warn_handler if $old_warn_handler;
        warn( @_ );
    }
};

use overload '~~' => \&over_go;
#use overload '>>' => \&over_go_assign;

sub over_go_assign {
    $_[0]->{assign};
           : $ret ~~ $_go_self->{rest};
        }
        else {
            return $_go_self->{ by }
                ? $_go_self->{rest}->{code}->( @$ret )
                : $ret ~~ $_go_self->{rest}
1, 2, 3 ] ~~ go { say $_  };
    # 1
    # 2
    # 3

    # hashes with $a and $b

    %h ~~ go { say "key $a, value $b" };

    undef ~~ go {
        # never gets called...
    };

    '' ~~ go {
   
Win32-Mechanize-NotepadPlusPlus ( P/PE/PETERCJ/Win32-Mechanize-NotepadPlusPlus-0.011.tar.gz, PETERCJ, 2023; MetaCPAN )
Win32-Mechanize-NotepadPlusPlus/lib/Win32/Mechanize/NotepadPlusPlus/Editor.pm ( view source; MetaCPAN )
 = $ret//1;
    }
}

=item deleteLine

    editor->deleteLine($lineNumber);

Deletes the given (zero indexed) line number.

=cut

sub deleteLine {
    my ($self, $lineNumber) = @_;
    $
;
}

=item replaceLine

    editor->replaceLine($lineNumber, $newContents);

Replaces the given (zero indexed) line number (excluding newline sequence)
with the given contents

=cut
sub __d
tem replaceWholeLine

    editor->replaceWholeLine($lineNumber, $newContents);

Replaces the given (zero indexed) line number (including newline sequence)
with the given contents: thus, if $newCo
Business-KontoCheck ( M/MI/MICHEL/Business-KontoCheck-6.15.tar.gz, MICHEL, 2023; MetaCPAN )
Business-KontoCheck/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
SPVM-Resource-Zlib-V1_2_11 ( K/KI/KIMOTO/SPVM-Resource-Zlib-V1_2_11-0.03.tar.gz, KIMOTO, 2023; MetaCPAN )
SPVM-Resource-Zlib-V1_2_11/lib/SPVM/Resource/Zlib/V1_2_11.native/src/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.