view release on metacpan or search on metacpan
lib/Ryu/Source.pm view on Meta::CPAN
no indirect;
use sort qw(stable);
use Scalar::Util ();
use Ref::Util ();
use List::Util ();
use List::UtilsBy;
use Encode ();
use Syntax::Keyword::Try;
use Future;
lib/Ryu/Source.pm view on Meta::CPAN
sub flat_map {
my ($self, $code) = splice @_, 0, 2;
# Upgrade ->flat_map(method => args...) to a coderef
if(!Ref::Util::is_plain_coderef($code)) {
my $method = $code;
my @args = @_;
$code = sub { $_->$method(@args) }
}
lib/Ryu/Source.pm view on Meta::CPAN
$add->($self->_completed);
$self->each_while_source(sub {
my $src = $weak_sauce or return;
for ($code->($_)) {
my $item = $_;
if(Ref::Util::is_plain_arrayref($item)) {
$log->tracef("Have an arrayref of %d items", 0 + @$item);
for(@$item) {
last if $src->is_ready;
$src->emit($_);
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/SDL2/Utils.pm view on Meta::CPAN
use File::Spec::Functions qw[catdir canonpath rel2abs];
use Path::Tiny qw[path];
use File::Share qw[dist_dir];
use Config;
use SDL2::Utils::Type::Enum;
use Ref::Util qw( is_ref is_plain_arrayref is_plain_hashref );
sub deprecate ($str) {
warnings::warn( 'deprecated', $str ) if warnings::enabled('deprecated');
}
view all matches for this distribution
view release on metacpan or search on metacpan
Added List::Util::forall
Change 273 on 1999/03/21 by <gbarr@pobox.com> (Graham Barr)
Added weaken and isweak to Ref::Util
Change 272 on 1999/03/21 by <gbarr@pobox.com> (Graham Barr)
Add new .pm files to repository
Change 271 on 1999/03/21 by <gbarr@pobox.com> (Graham Barr)
- Split into three packages Ref::Util, List::Util and Scalar::DualVar
- readonly and clock were removed in favor of other modules
Change 270 on 1999/03/21 by <gbarr@pobox.com> (Graham Barr)
Rename package
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Scalar/Util/Reftype.pm view on Meta::CPAN
$rt->hash_object; # true
$rt->class; # "Foo"
=head1 DESCRIPTION
This module is B<DEPRECATED>. Please use L<Ref::Util> instead.
This is an alternate interface to C<Scalar::Util>'s C<reftype> function.
Instead of manual type checking you can just call methods on the result
to see if matches the desired type.
=head1 DEPRECATION NOTICE
This module is B<DEPRECATED>. Please use L<Ref::Util> instead.
=head1 NAME
Scalar::Util::Reftype - Alternate reftype() interface
view all matches for this distribution
view release on metacpan or search on metacpan
devel/rdfs.pl view on Meta::CPAN
use List::Util 1.33 qw/ any pairgrep uniqstr /;
use LWP::UserAgent;
use Path::Tiny;
use RDF::Prefixes;
use RDF::Trine;
use Ref::Util qw/ is_plain_arrayref /;
use String::CamelCase qw/ decamelize /;
use Template;
use Text::Wrap qw/ wrap /;
use Types::Standard -types;
use URI;
view all matches for this distribution
view release on metacpan or search on metacpan
"FFI::Platypus" : "1.00",
"File::Basename" : "0",
"File::ShareDir" : "0",
"File::Spec" : "0",
"Path::Tiny" : "0",
"Ref::Util" : "0",
"Sub::Util" : "0",
"feature" : "0",
"perl" : "5.008",
"strict" : "0",
"utf8" : "0",
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Specio.pm view on Meta::CPAN
There are several optional prereqs that if installed will make this
distribution better in some way.
=over 4
=item * L<Ref::Util>
Installing this will speed up a number of type checks for built-in types.
=item * L<XString>
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Spreadsheet/GenerateXLSX.pm view on Meta::CPAN
use warnings;
use parent 'Exporter';
use Carp qw/ croak /;
use Ref::Util qw/ is_arrayref is_ref /;
use Excel::Writer::XLSX;
our @EXPORT_OK = qw/ generate_xlsx /;
my $MAX_EXCEL_COLUMN_WIDTH = 80;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Statistics/Sampler/Multinomial.pm view on Meta::CPAN
use strict;
our $VERSION = '1.02';
use Carp;
use Ref::Util qw /is_arrayref/;
use List::Util qw /min sum/;
use List::MoreUtils qw /first_index/;
use Scalar::Util qw /blessed looks_like_number/;
#use parent qw/Clone/;
use Clone ();
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Stringify/Deep.pm view on Meta::CPAN
our @EXPORT = qw();
our @EXPORT_OK = qw(deep_stringify);
use Data::Structure::Util qw(unbless);
use Ref::Util qw(is_blessed_ref);
our $VERSION = '0.03';
=head1 NAME
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Sub/Params.pm view on Meta::CPAN
our $VERSION = '1.0.0';
use parent 'Exporter';
use Hash::Util qw[];
use Ref::Util qw[ is_plain_hashref ];
our @EXPORT_OK = (
'named_or_positional_arguments'
);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/TCOD.pm view on Meta::CPAN
use Encode ();
use FFI::C;
use FFI::CheckLib ();
use FFI::Platypus 1.00;
use FFI::Platypus::Buffer ();
use Ref::Util;
use TCOD::SDL2;
use TCOD::Event;
sub import {
use Import::Into;
lib/TCOD.pm view on Meta::CPAN
Carp::croak 'The title parameter is not supported' if exists $args{title};
my $decoration = $args{decoration} // [ 'â', 'â', 'â', 'â', ' ', 'â', 'â', 'â', 'â' ];
$decoration = [ map ord, split //, $decoration ]
unless Ref::Util::is_arrayref $decoration;
Carp::croak 'Frame decoration must have a length of 9. It has a length of ' . @$decoration
if @$decoration != 9;
$xsub->(
view all matches for this distribution
view release on metacpan or search on metacpan
share/2016.csv view on Meta::CPAN
DateTime-Format-PGN-0.04,2016-04-24T08:45:24,IBRAUN,backpan,released,0.04,,DateTime-Format-PGN,"a Perl module for parsing and formatting date fields in chess game databases in PGN format"
Dist-Zilla-Plugin-PodWeaver-4.008,2016-04-24T08:49:27,RJBS,cpan,released,4.008,,Dist-Zilla-Plugin-PodWeaver,"weave your Pod together from configuration and Dist::Zilla"
Test-Simple-1.302014_005,2016-04-24T08:56:08,EXODIST,backpan,developer,1.302014_005,,Test-Simple,"Basic utilities for writing tests."
Locale-CLDR-v0.29.0-TRIAL,2016-04-24T09:21:33,JGNI,backpan,developer,v0.29.0,,Locale-CLDR,"A Module to create locale objects with localisation data from the CLDR"
Test-Simple-1.302014_006,2016-04-24T09:31:51,EXODIST,backpan,developer,1.302014_006,,Test-Simple,"Basic utilities for writing tests."
Ref-Util-Rewriter-0.001,2016-04-24T09:44:40,XSAWYERX,cpan,released,0.001,1,Ref-Util-Rewriter,"Rewrite your code to use Ref::Util"
Pod-Elemental-PerlMunger-0.200004,2016-04-24T09:51:15,RJBS,backpan,released,0.200004,,Pod-Elemental-PerlMunger,"a thing that takes a string of Perl and rewrites its documentation"
SQL-Yapp-2.001,2016-04-24T10:02:58,THEILING,cpan,released,2.001,,SQL-Yapp,"SQL syntax in Perl with compile-time syntax checks"
Date-Hijri-Simple-0.11,2016-04-24T10:25:07,MANWAR,backpan,released,0.11,,Date-Hijri-Simple,"Represents Hijri date."
LeftPad-0.002,2016-04-24T10:26:34,DAGOLDEN,cpan,released,0.002,,LeftPad,"Why should Node.js have all the fun?"
BioX-Workflow-0.26,2016-04-24T10:33:28,JILLROWE,cpan,released,0.26,,BioX-Workflow,"A very opinionated template based workflow writer."
share/2016.csv view on Meta::CPAN
Dist-Zilla-PluginBundle-SCHWIGON-0.019,2016-04-29T09:34:27,SCHWIGON,latest,released,0.019,,Dist-Zilla-PluginBundle-SCHWIGON,"Build your distributions like SCHWIGON does"
Calendar-Persian-0.23,2016-04-29T09:42:21,MANWAR,backpan,released,0.23,,Calendar-Persian,"Interface to Persian Calendar."
Pcore-GeoIP-v1.0.0,2016-04-29T10:10:20,ZDM,backpan,released,v1.0.0,,Pcore-GeoIP,"Maxmind GeoIP wrapper"
DBGp-Client-0.07,2016-04-29T10:24:30,MBARBON,backpan,released,0.07,,DBGp-Client,"simple client for the DBGp debugger protocol"
Zwoelf-Hash-Union-0.1,2016-04-29T10:40:25,MGUTSCH,latest,released,0.1,1,Zwoelf-Hash-Union,
Ref-Util-Rewriter-0.002,2016-04-29T10:40:37,XSAWYERX,cpan,released,0.002,,Ref-Util-Rewriter,"Rewrite your code to use Ref::Util"
Outthentic-DSL-0.1.1,2016-04-29T10:52:16,MELEZHIK,backpan,released,0.1.1,,Outthentic-DSL,"outthentic DSL - smart text validator"
Ref-Util-0.010,2016-04-29T10:56:23,XSAWYERX,backpan,released,0.010,,Ref-Util,"Utility functions for checking references"
Ref-Util-0.011,2016-04-29T11:06:45,XSAWYERX,backpan,released,0.011,,Ref-Util,"Utility functions for checking references"
Hook-Output-File-0.08,2016-04-29T11:32:13,SCHUBIGER,latest,released,0.08,,Hook-Output-File,"Redirect STDOUT/STDERR to a file"
Pcore-v0.23.1,2016-04-29T11:35:01,ZDM,backpan,released,v0.23.1,,Pcore,"perl applications development environment"
share/2016.csv view on Meta::CPAN
Pcore-API-Dynadot-v0.3.2,2016-04-29T12:39:37,ZDM,backpan,released,v0.3.2,,Pcore-API-Dynadot,
Pcore-Nginx-v0.8.2,2016-04-29T12:44:54,ZDM,backpan,released,v0.8.2,,Pcore-Nginx,"Pcore nginx application"
Dist-Zilla-Plugin-ModuleInstall-1.001001,2016-04-29T13:11:39,KENTNL,cpan,released,1.001001,,Dist-Zilla-Plugin-ModuleInstall,"(DEPRECATED) Build Module::Install based Distributions with Dist::Zilla"
Outthentic-DSL-0.1.2,2016-04-29T13:24:31,MELEZHIK,backpan,released,0.1.2,,Outthentic-DSL,"Language to verify text output"
Pcore-Nginx-v0.9.0,2016-04-29T13:26:06,ZDM,backpan,released,v0.9.0,,Pcore-Nginx,"Pcore nginx application"
Ref-Util-Rewriter-0.003,2016-04-29T14:02:55,XSAWYERX,cpan,released,0.003,,Ref-Util-Rewriter,"Rewrite your code to use Ref::Util"
Pcore-v0.23.3,2016-04-29T14:24:37,ZDM,backpan,released,v0.23.3,,Pcore,"perl applications development environment"
MetaCPAN-Client-1.014000,2016-04-29T14:26:05,XSAWYERX,backpan,released,1.014000,,MetaCPAN-Client,"A comprehensive, DWIM-featured client to the MetaCPAN API"
Dancer2-0.166001_02,2016-04-29T14:45:41,XSAWYERX,backpan,developer,0.166001_02,,Dancer2,"Lightweight yet powerful web application framework"
Pcore-v0.23.4,2016-04-29T14:47:08,ZDM,backpan,released,v0.23.4,,Pcore,"perl applications development environment"
AtteanX-RDFQueryTranslator-0.099_02,2016-04-29T15:07:37,GWILLIAMS,backpan,developer,0.099_02,,AtteanX-RDFQueryTranslator,"Translate RDF::Query objects to Attean::API::Algebra objects."
share/2016.csv view on Meta::CPAN
Hook-Output-Tiny-0.03,2016-04-30T01:11:24,STEVEB,backpan,released,0.03,1,Hook-Output-Tiny,"Easily enable/disable trapping of STDOUT/STDERR"
CHI-Driver-Rethinkdb-0.1.1,2016-04-30T01:19:15,DBURKE,cpan,released,0.1.1,1,CHI-Driver-Rethinkdb,"Rethinkdb driver for CHI"
Hook-Output-Tiny-0.04,2016-04-30T01:23:18,STEVEB,backpan,released,0.04,,Hook-Output-Tiny,"Easily enable/disable trapping of STDOUT/STDERR"
Dist-Zilla-Plugin-TravisCI-0.010,2016-04-30T01:28:37,KENTNL,cpan,released,0.010,,Dist-Zilla-Plugin-TravisCI,"Integrating the generation of .travis.yml into your dzil"
Bencher-Scenarios-DataDmp-0.001,2016-04-30T02:07:56,PERLANCAR,backpan,released,0.001,1,Bencher-Scenarios-DataDmp,"Benchmark Data::Dmp against some other related modules"
Bencher-Scenarios-RefUtil-0.001,2016-04-30T02:09:24,PERLANCAR,backpan,released,0.001,1,Bencher-Scenarios-RefUtil,"Benchmark Ref::Util"
Data-Dmp-0.18,2016-04-30T02:09:29,PERLANCAR,backpan,released,0.18,,Data-Dmp,"Dump Perl data structures as Perl code"
Data-Dmp-0.19,2016-04-30T02:09:41,PERLANCAR,backpan,released,0.19,,Data-Dmp,"Dump Perl data structures as Perl code"
MCE-Shared-1.006,2016-04-30T02:18:47,MARIOROY,backpan,released,1.006,,MCE-Shared,"MCE extension for sharing data supporting threads and processes"
PerlIO-eol-0.16,2016-04-30T06:41:07,SHLOMIF,backpan,released,0.16,,PerlIO-eol,"PerlIO layer for normalizing line endings"
PDF-Create-1.30,2016-04-30T07:00:18,MANWAR,cpan,released,1.30,,PDF-Create,"Create PDF files."
view all matches for this distribution
view release on metacpan or search on metacpan
share/2016.csv view on Meta::CPAN
DateTime-Format-PGN-0.04,2016-04-24T08:45:24,IBRAUN,backpan,released,0.04,,DateTime-Format-PGN,"a Perl module for parsing and formatting date fields in chess game databases in PGN format"
Dist-Zilla-Plugin-PodWeaver-4.008,2016-04-24T08:49:27,RJBS,cpan,released,4.008,,Dist-Zilla-Plugin-PodWeaver,"weave your Pod together from configuration and Dist::Zilla"
Test-Simple-1.302014_005,2016-04-24T08:56:08,EXODIST,backpan,developer,1.302014_005,,Test-Simple,"Basic utilities for writing tests."
Locale-CLDR-v0.29.0-TRIAL,2016-04-24T09:21:33,JGNI,backpan,developer,v0.29.0,,Locale-CLDR,"A Module to create locale objects with localisation data from the CLDR"
Test-Simple-1.302014_006,2016-04-24T09:31:51,EXODIST,backpan,developer,1.302014_006,,Test-Simple,"Basic utilities for writing tests."
Ref-Util-Rewriter-0.001,2016-04-24T09:44:40,XSAWYERX,cpan,released,0.001,1,Ref-Util-Rewriter,"Rewrite your code to use Ref::Util"
Pod-Elemental-PerlMunger-0.200004,2016-04-24T09:51:15,RJBS,backpan,released,0.200004,,Pod-Elemental-PerlMunger,"a thing that takes a string of Perl and rewrites its documentation"
SQL-Yapp-2.001,2016-04-24T10:02:58,THEILING,cpan,released,2.001,,SQL-Yapp,"SQL syntax in Perl with compile-time syntax checks"
Date-Hijri-Simple-0.11,2016-04-24T10:25:07,MANWAR,backpan,released,0.11,,Date-Hijri-Simple,"Represents Hijri date."
LeftPad-0.002,2016-04-24T10:26:34,DAGOLDEN,cpan,released,0.002,,LeftPad,"Why should Node.js have all the fun?"
BioX-Workflow-0.26,2016-04-24T10:33:28,JILLROWE,cpan,released,0.26,,BioX-Workflow,"A very opinionated template based workflow writer."
share/2016.csv view on Meta::CPAN
Dist-Zilla-PluginBundle-SCHWIGON-0.019,2016-04-29T09:34:27,SCHWIGON,latest,released,0.019,,Dist-Zilla-PluginBundle-SCHWIGON,"Build your distributions like SCHWIGON does"
Calendar-Persian-0.23,2016-04-29T09:42:21,MANWAR,backpan,released,0.23,,Calendar-Persian,"Interface to Persian Calendar."
Pcore-GeoIP-v1.0.0,2016-04-29T10:10:20,ZDM,backpan,released,v1.0.0,,Pcore-GeoIP,"Maxmind GeoIP wrapper"
DBGp-Client-0.07,2016-04-29T10:24:30,MBARBON,backpan,released,0.07,,DBGp-Client,"simple client for the DBGp debugger protocol"
Zwoelf-Hash-Union-0.1,2016-04-29T10:40:25,MGUTSCH,latest,released,0.1,1,Zwoelf-Hash-Union,
Ref-Util-Rewriter-0.002,2016-04-29T10:40:37,XSAWYERX,cpan,released,0.002,,Ref-Util-Rewriter,"Rewrite your code to use Ref::Util"
Outthentic-DSL-0.1.1,2016-04-29T10:52:16,MELEZHIK,backpan,released,0.1.1,,Outthentic-DSL,"outthentic DSL - smart text validator"
Ref-Util-0.010,2016-04-29T10:56:23,XSAWYERX,backpan,released,0.010,,Ref-Util,"Utility functions for checking references"
Ref-Util-0.011,2016-04-29T11:06:45,XSAWYERX,backpan,released,0.011,,Ref-Util,"Utility functions for checking references"
Hook-Output-File-0.08,2016-04-29T11:32:13,SCHUBIGER,latest,released,0.08,,Hook-Output-File,"Redirect STDOUT/STDERR to a file"
Pcore-v0.23.1,2016-04-29T11:35:01,ZDM,backpan,released,v0.23.1,,Pcore,"perl applications development environment"
share/2016.csv view on Meta::CPAN
Pcore-API-Dynadot-v0.3.2,2016-04-29T12:39:37,ZDM,backpan,released,v0.3.2,,Pcore-API-Dynadot,
Pcore-Nginx-v0.8.2,2016-04-29T12:44:54,ZDM,backpan,released,v0.8.2,,Pcore-Nginx,"Pcore nginx application"
Dist-Zilla-Plugin-ModuleInstall-1.001001,2016-04-29T13:11:39,KENTNL,cpan,released,1.001001,,Dist-Zilla-Plugin-ModuleInstall,"(DEPRECATED) Build Module::Install based Distributions with Dist::Zilla"
Outthentic-DSL-0.1.2,2016-04-29T13:24:31,MELEZHIK,backpan,released,0.1.2,,Outthentic-DSL,"Language to verify text output"
Pcore-Nginx-v0.9.0,2016-04-29T13:26:06,ZDM,backpan,released,v0.9.0,,Pcore-Nginx,"Pcore nginx application"
Ref-Util-Rewriter-0.003,2016-04-29T14:02:55,XSAWYERX,cpan,released,0.003,,Ref-Util-Rewriter,"Rewrite your code to use Ref::Util"
Pcore-v0.23.3,2016-04-29T14:24:37,ZDM,backpan,released,v0.23.3,,Pcore,"perl applications development environment"
MetaCPAN-Client-1.014000,2016-04-29T14:26:05,XSAWYERX,backpan,released,1.014000,,MetaCPAN-Client,"A comprehensive, DWIM-featured client to the MetaCPAN API"
Dancer2-0.166001_02,2016-04-29T14:45:41,XSAWYERX,backpan,developer,0.166001_02,,Dancer2,"Lightweight yet powerful web application framework"
Pcore-v0.23.4,2016-04-29T14:47:08,ZDM,backpan,released,v0.23.4,,Pcore,"perl applications development environment"
AtteanX-RDFQueryTranslator-0.099_02,2016-04-29T15:07:37,GWILLIAMS,backpan,developer,0.099_02,,AtteanX-RDFQueryTranslator,"Translate RDF::Query objects to Attean::API::Algebra objects."
share/2016.csv view on Meta::CPAN
Hook-Output-Tiny-0.03,2016-04-30T01:11:24,STEVEB,backpan,released,0.03,1,Hook-Output-Tiny,"Easily enable/disable trapping of STDOUT/STDERR"
CHI-Driver-Rethinkdb-0.1.1,2016-04-30T01:19:15,DBURKE,cpan,released,0.1.1,1,CHI-Driver-Rethinkdb,"Rethinkdb driver for CHI"
Hook-Output-Tiny-0.04,2016-04-30T01:23:18,STEVEB,backpan,released,0.04,,Hook-Output-Tiny,"Easily enable/disable trapping of STDOUT/STDERR"
Dist-Zilla-Plugin-TravisCI-0.010,2016-04-30T01:28:37,KENTNL,cpan,released,0.010,,Dist-Zilla-Plugin-TravisCI,"Integrating the generation of .travis.yml into your dzil"
Bencher-Scenarios-DataDmp-0.001,2016-04-30T02:07:56,PERLANCAR,backpan,released,0.001,1,Bencher-Scenarios-DataDmp,"Benchmark Data::Dmp against some other related modules"
Bencher-Scenarios-RefUtil-0.001,2016-04-30T02:09:24,PERLANCAR,backpan,released,0.001,1,Bencher-Scenarios-RefUtil,"Benchmark Ref::Util"
Data-Dmp-0.18,2016-04-30T02:09:29,PERLANCAR,backpan,released,0.18,,Data-Dmp,"Dump Perl data structures as Perl code"
Data-Dmp-0.19,2016-04-30T02:09:41,PERLANCAR,backpan,released,0.19,,Data-Dmp,"Dump Perl data structures as Perl code"
MCE-Shared-1.006,2016-04-30T02:18:47,MARIOROY,backpan,released,1.006,,MCE-Shared,"MCE extension for sharing data supporting threads and processes"
PerlIO-eol-0.16,2016-04-30T06:41:07,SHLOMIF,backpan,released,0.16,,PerlIO-eol,"PerlIO layer for normalizing line endings"
PDF-Create-1.30,2016-04-30T07:00:18,MANWAR,cpan,released,1.30,,PDF-Create,"Create PDF files."
view all matches for this distribution
view release on metacpan or search on metacpan
1.990072 20170214
- Add Data::Compare, Text::Levenshtein and Data::Structure::Util
1.990071 2017-01-29
- Change log release only - neglected to update them for 1.99007
- Add Ref::Util, Scalar::Util::Numeric,
Text::Fuzzy, Getopt::Long::Descriptive,
Cpanel::JSON::XS and JSON::MaybeXS
- Bump min version for Geo::Converter::dms2dd to 0.05
1.99006 2016-09-22
view all matches for this distribution