Group
Extension

Matches 1364

Perl6-Doc ( H/HI/HINRIK/Perl6-Doc-0.47.tar.gz, HINRIK, 2010; MetaCPAN )
Perl6-Doc/share/Synopsis/S32-setting-library/Containers.pod ( view source; MetaCPAN )
 of C<@array>, in order.

If C<$indextest> is provided, only elements whose indices match
C<$index ~~ $indextest> are iterated.  (To select on values use C<grep>.)

What is returned at each element of
 as C<%hash> doesn't change.

If C<$keytest> is provided, only elements whose keys evaluate
C<$key ~~ $keytest> as true are iterated.

What is returned at each element of the iteration varies with fun
Perl6-Doc ( H/HI/HINRIK/Perl6-Doc-0.47.tar.gz, HINRIK, 2010; MetaCPAN )
Perl6-Doc/share/Exegesis/E05.pod ( view source; MetaCPAN )
as literals

[Update: C<< <> >> is no longer the input operator.  And C<=~> has been
replaced by C<~~>.]

which in Perl 5 we'd have to write as:

        # Perl 5
        my $target = <>;             
     <appendline>+
              { @$appendline =~ s/<in_marker>/</;

[Update: Smartmatch is now C<~~>.]

                @$deleteline =~ s/<out_marker>/>/;
                let $0 := "${to}c${from}\n"
   $str =~ m{ /\* .*? \*/ }xs;

        # Perl 6
        $str =~ m{ /\* .*? \*/ };

[Update: Use C<~~> now.]


=item Remove leading qualifiers from a Perl identifier

        # Perl 5
        $ident =
Padre-Plugin-Perl6 ( A/AZ/AZAWAWI/Padre-Plugin-Perl6-0.71.tar.gz, AZAWAWI, 2010; MetaCPAN )
Padre-Plugin-Perl6/lib/Padre/Plugin/Perl6/QuickFix.pm ( view source; MetaCPAN )
 the following:
				# 	$string =~ /abc/;
				# into:
				# 	$string ~~ /abc/;
				push @items, {
					text     => Wx::gettext('Use ~~ for pattern matching'),
					listener => sub {

						#Replace fir
						my $line_text  = $editor->GetTextRange( $line_start, $line_end );
						$line_text =~ s/\=\~/~~/;
						$editor->SetSelection( $line_start, $line_end );
						$editor->ReplaceSelection($line_tex
nto:
				# 	$string !~~ /abc/;
				push @items, {
					text     => Wx::gettext('Use !~~ for negated pattern matching'),
					listener => sub {

						#Replace first '!~' with '!~~' in the current line
Perl6-Bible ( A/AU/AUTRIJUS/Perl6-Bible-0.30.tar.gz, AUTRIJUS, 2006; MetaCPAN )
Perl6-Bible/lib/Perl6/Bible/S05.pod ( view source; MetaCPAN )
r context.  The first match at any position is returned.

     $str = "abracadabra";

     if $str ~~ m:overlap/ a (.*) a / {
         @substrings = $/.matches();    # bracadabr cadabr dabr br
     }
ontext, or a disjunction of matches in a scalar context.

     $str = "abracadabra";

     if $str ~~ m:exhaustive/ a (.*) a / {
         @substrings = $/.matches();    # br brac bracad bracadabr
    
 in a value context (void,
Boolean, string, or numeric), or when it is an explicit argument of
a C<~~>.  Otherwise it's a rule constructor.  So this:

     $var = /pattern/;

no longer does the match 
BioPerl-Run ( C/CJ/CJFIELDS/BioPerl-Run-1.006900.tar.gz, CJFIELDS, 2011; MetaCPAN )
BioPerl-Run/lib/Bio/Tools/Run/Minimo.pm ( view source; MetaCPAN )
  range if no quality file was given (default: 30)
     bad_qual     Quality score to set for bases outside clear range
                    if no quality file was given (default: 10). If your
        
JavaScript-Prepare ( M/MN/MNF/JavaScript-Prepare-v0.1.tar.gz, MNF, 2011; MetaCPAN )
JavaScript-Prepare/lib/JavaScript/Prepare.pm ( view source; MetaCPAN )
 = shift;
    my @args = @_;
    
    my $minified = '';
    foreach my $arg ( @args ) {
        given ( $arg ) {
            when ( -f $arg ) {
                $minified .= $self->process_file( $arg 
Params-Attr ( F/FL/FLUFFY/Params-Attr-1.00.tar.gz, FLUFFY, 2010; MetaCPAN )
Params-Attr/lib/Params/Attr.pm ( view source; MetaCPAN )
n",
                          $keys, $_, $caller, $filename, $linenum
                unless $keys ~~ $keycheck;
            } else {
              die sprintf "key list not supported with type %s at 
 } elsif ( ! defined $value ) {
            return $type & UNDEF;
          } else {
            given ( ref $value ) {
              when ( '' )       { return $type & SCALAR };
              default
 die sprintf "value '%s' is not a legal value for $name\n", $value // '*undef*'
    unless grep $_ ~~ $value, @$legit;
}

# ----------------------------------------------------------------------------
DBD-ADO ( S/SG/SGOELDNER/DBD-ADO-2.99.tar.gz, SGOELDNER, 2011; MetaCPAN )
DBD-ADO/lib/DBD/ADO.pm ( view source; MetaCPAN )
ic type, e.g.:

  $sth->bind_param( 1, $value, { ado_type => 6 } );  # adCurrency

If no type is given (neither by the provider nor by you), the datatype
defaults to SQL_VARCHAR (adVarChar).


=head2 
Collision-2D ( Z/ZP/ZPMORGAN/Collision-2D-0.07.tar.gz, ZPMORGAN, 2011; MetaCPAN )
Collision-2D/lib/Collision/2D.pm ( view source; MetaCPAN )
al => 4);
 #$collision->time == 1. More on that in L<Collision::2D::Collision>.
 #$collision->axis ~~ [0,1] or [0,-1]. More on that in L<Collision::2D::Collision>.

=item intersection

 print 'whoops'
Perl6-Pugs ( A/AU/AUDREYT/Perl6-Pugs-6.2.13.tar.gz, AUDREYT, 2006; MetaCPAN )
Perl6-Pugs/src/perl6/Prelude.pm ( view source; MetaCPAN )
s builtin {
    has $.f;
}
# This infix:<~~> doesnt work yet.
multi sub infix:<~~> ($x, Rul $r) is primitive is safe is builtin {$r.f.($x)}
multi sub infix:<~~> (Rul $r, $x) is primitive is safe is bu
y $m;
           while 1 \{
              my $s = substr($str,$pos) // last;
              $m = $s ~~ $re or last;
              my $m0 = {$m}[0];
              my $at = $pos + $m0.from;
             
 !! $a }))";
        return $code;
    }
    # Use of Rul awaits working infix:<~~> .
    #'Rul.new(:f(sub($_s_){$_s_ ~~ '~"$hook$adverbs$qo$pat$qc}))";
    "$hook$adverbs$qo$pat$qc";
}

# These macro
CLI-Framework ( K/KE/KERISMAN/CLI-Framework-0.05.tar.gz, KERISMAN, 2011; MetaCPAN )
CLI-Framework/lib/CLI/Framework/Application.pm ( view source; MetaCPAN )
ould only be
    # done once for the application, not every time a command is run.

    #~~~~~~~~~~~~~~~~~~~~~~~
    # ARGV_Format
    #
    # non-interactive case:     @ARGV:      [app-opts]  <cmd> [
;

Returns a usage message for the application or a specific (sub)command.

If a command name is given (optionally with subcommands), returns a usage
message string for that (sub)command.  If no comma
Memcached-Client ( M/MD/MDORMAN/Memcached-Client-2.01.tar.gz, MDORMAN, 2011; MetaCPAN )
Memcached-Client/lib/Memcached/Client/Serializer.pm ( view source; MetaCPAN )
e
data that has been returned.

=head2 serialize()

C<serialize()> will serialize the data it is given (if it's a
reference), and if the data is large enough and the savings
significant enough (and th
AnyEvent-Feed ( E/EL/ELMEX/AnyEvent-Feed-0.3.tar.gz, ELMEX, 2011; MetaCPAN )
AnyEvent-Feed/lib/AnyEvent/Feed.pm ( view source; MetaCPAN )
eader, $new_entries, $feed_obj, $error)

This callback is called if the C<interval> parameter is given (see above)
with the same arguments as the callback given to the C<fetch> method (see below).

=i
Exception-Resumable ( S/SE/SEANO/Exception-Resumable-0.91.tar.gz, SEANO, 2011; MetaCPAN )
Exception-Resumable/Resumable.pm ( view source; MetaCPAN )
eq 'HASH')
            ? exists $k->{$err}
            : $k eq $err
EOS
} else {
    $test = '$err ~~ $k';
}
eval q#
sub raise(*@)
{
    my $err = shift;
    my @c = @CATCH;
    local @CATCH = @LAST_C
App-Nag ( D/DF/DFH/App-Nag-0.002.tar.gz, DFH, 2011; MetaCPAN )
App-Nag/lib/App/Nag.pm ( view source; MetaCPAN )
p', "print usage message and exit" ],
    );

    print( $usage->text ), exit if $opt->help;
    given ( scalar @ARGV ) {
        when (0) {
            $usage->die(
                {
                

    my $then = $now->clone;

    if ( $props{unit} ) {
        my $unit = $props{unit};
        given ($unit) {
            when ('h') { $unit = 'hours' }
            when ('m') { $unit = 'minutes' }
       if ( $hour < 13 ) {
            $then->add( hours => 12 ) while $then < $now;
            given ($suffix) {
                when ('a') { $then->add( hours => 12 ) if $then->hour >= 12 }
       
App-Twitch ( G/GE/GETTY/App-Twitch-0.904.tar.gz, GETTY, 2011; MetaCPAN )
App-Twitch/lib/App/Twitch.pm ( view source; MetaCPAN )
fault => sub { getcwd },
	documentation => 'Directory for the keyword files and the feed file if given (default: current directory)',
);

has log_dispatch_conf => (
	is => 'ro',
	isa => 'HashRef',
	la
XUL-Gui ( A/AS/ASG/XUL-Gui-0.63.tar.gz, ASG, 2010; MetaCPAN )
XUL-Gui/lib/XUL/Gui.pm ( view source; MetaCPAN )
r for the widget variables:

    $_->has('label')        ~~ exists $_{A}{label} ? (label=>$_{A}{label}) : ()
    $_->has('label->value') ~~ exists $_{A}{label} ? (value=>$_{A}{label}) : ()

    $
Statistics-embedR ( Q/QI/QIUHW/Statistics-embedR-v0.10.1.tar.gz, QIUHW, 2011; MetaCPAN )
Statistics-embedR/lib/Statistics/embedR.pm ( view source; MetaCPAN )
my @keys = keys %$result;
    return $result unless @keys == 1;
    return $result unless $keys[0] ~~ ['int', 'str', 'real'];

    my $values = $result->{$keys[0]};
    return @$values == 1 ? $values-
Config-TinyDNS ( B/BM/BMORROW/Config-TinyDNS-1.tar.gz, BMORROW, 2011; MetaCPAN )
Config-TinyDNS/lib/Config/TinyDNS.pm ( view source; MetaCPAN )
 _lookup_filt {
    my ($k, @args) = @_;
    my $f = $Filters{$k} or croak "bad filter: $k";
    given (reftype $f) {
        when ("CODE")   { return $f }
        when ("REF")    { return ($$f)->(@ar
try: $k => $f" }
    }
}
    
sub _decode_filt {
    my ($f) = @_;
    defined $f or return;
    given (reftype $f) {
        when ("CODE")   { return $f }
        when (undef)    { return _lookup_fil
;
        my $lo   = sub { $_[0] . (defined $_[1] ? ":$_[1]" : "") };
        sub { 
            given ($_) {
                when ([".", "&"]) { 
                    $repl->(@_[1, 5]);
              
Acme-Gtk2-Ex-Builder ( K/KE/KEEDI/Acme-Gtk2-Ex-Builder-0.008.tar.gz, KEEDI, 2011; MetaCPAN )
Acme-Gtk2-Ex-Builder/lib/Acme/Gtk2/Ex/Builder.pm ( view source; MetaCPAN )
);
        }
 
        if ($self->_current && ref($self->_current) ne __PACKAGE__) {
            given (ref $self->_current) {
                when (/Gtk2::VBox|Gtk2::HBox/) {
                    $sel
       given ($key) {
                when ('id') {
                    $self->find($values[0], $self->_current);
                }
                when ('packing') {
                    given (ref $s

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