view release on metacpan or search on metacpan
t/examples/traces/1.txt view on Meta::CPAN
Exporter::import (/opt/perl5.26.1/lib/5.26.1/Exporter.pm:28-67)
XSLoader::load (/opt/perl5.26.1/lib/5.26.1/XSLoader.pm:18-115)
DynaLoader::dl_load_file
DynaLoader::dl_find_symbol
DynaLoader::dl_install_xsub
Ref::Util::XS::bootstrap
Ref::Util::_install_aliases (/opt/perl5.26.1/lib/site_perl/5.26.1/Ref/Util.pm:22-29)
UNIVERSAL::VERSION
Specio::Declare::declare (/opt/perl5.26.1/lib/site_perl/5.26.1/Specio/Declare.pm:77-87)
Specio::Helpers::_STRINGLIKE (/opt/perl5.26.1/lib/site_perl/5.26.1/Specio/Helpers.pm:64-73)
Specio::Helpers::_STRING (/opt/perl5.26.1/lib/site_perl/5.26.1/Specio/Helpers.pm:76-78)
Specio::Declare::_make_tc (/opt/perl5.26.1/lib/site_perl/5.26.1/Specio/Declare.pm:301-314)
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Devel/Optic.pm view on Meta::CPAN
use strict;
use warnings;
use Carp qw(croak);
use Scalar::Util qw(looks_like_number);
use Ref::Util qw(is_ref is_arrayref is_hashref is_scalarref is_coderef is_regexpref);
use Sub::Info qw(sub_info);
use PadWalker qw(peek_my);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Dist/Zilla/App/Command/aliendeps.pm view on Meta::CPAN
package Dist::Zilla::App::Command::aliendeps;
use strict;
use warnings;
use Dist::Zilla::App -command;
use Ref::Util qw( is_hashref );
# ABSTRACT: (DEPRECATED) Print your alien distributions alien prerequisites
our $VERSION = '0.03'; # VERSION
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Dist/Zilla/Plugin/Author/Plicease/ReadmeAnyFromPod.pm view on Meta::CPAN
use 5.020;
use Moose;
use experimental qw( signatures );
use URI::Escape ();
use File::Which ();
use Ref::Util qw( is_plain_hashref );
use experimental qw( postderef );
# ABSTRACT: Personal subclass of Dist::Zilla::Plugin::ReadmeAnyFromPod
view all matches for this distribution
view release on metacpan or search on metacpan
Notes/cpan-namespaces/cpan-namespaces-L1-L2.txt view on Meta::CPAN
Redmine::Stat
Ref
Ref::Explicit
Ref::List
Ref::Store
Ref::Util
Refine
Refinements
Refinements::Package
Reflex
Reflex::Acceptor
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Eliza/Chatbot/Brain.pm view on Meta::CPAN
package Eliza::Chatbot::Brain;
use Moo;
use MooX::LazierAttributes;
use Ref::Util qw(is_scalarref is_blessed_arrayref);
attributes(
decomp_matches => [rw, [ ], {lzy}],
[qw/options last/] => [rw, nan, {lzy}],
);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Exception/FFI/ErrorCode.pm view on Meta::CPAN
use warnings;
use 5.020;
use constant 1.32 ();
use experimental qw( signatures postderef );
use Ref::Util qw( is_plain_arrayref );
# ABSTRACT: Exception class based on integer error codes common in C code
my %human_codes;
lib/Exception/FFI/ErrorCode.pm view on Meta::CPAN
package Exception::FFI::ErrorCode::Base 0.03 {
sub _carp_always;
use Class::Tiny qw( package filename line code trace _longmess );
use Ref::Util qw( is_blessed_ref );
use overload
'""' => sub ($self,@) {
if(_carp_always)
{
return $self->_longmess;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/FFI/C/Stat.pm view on Meta::CPAN
package FFI::C::Stat;
use strict;
use warnings;
use 5.008004;
use Ref::Util qw( is_ref is_globref is_blessed_ref );
use Carp ();
use FFI::Platypus 1.00;
# ABSTRACT: Object-oriented FFI interface to native stat and lstat
our $VERSION = '0.03'; # VERSION
view all matches for this distribution
view release on metacpan or search on metacpan
lib/FFI/C.pm view on Meta::CPAN
use strict;
use warnings;
use 5.008001;
use Carp ();
use Ref::Util qw( is_ref is_plain_arrayref is_plain_hashref );
# ABSTRACT: C data types for FFI
our $VERSION = '0.15'; # VERSION
view all matches for this distribution
view release on metacpan or search on metacpan
lib/FFI/Platypus/Type/GoString.pm view on Meta::CPAN
use strict;
use warnings;
use FFI::Platypus 1.24;
use FFI::Go::String;
use Ref::Util qw( is_blessed_ref );
# ABSTRACT: Go String type for Platypus
our $VERSION = '0.03'; # VERSION
view all matches for this distribution
view release on metacpan or search on metacpan
lib/FFI/Platypus/Legacy/Raw/Platypus.pm view on Meta::CPAN
package FFI::Platypus::Legacy::Raw::Platypus;
use strict;
use warnings;
use Ref::Util qw( is_ref );
use FFI::Platypus;
use base qw( Exporter );
# ABSTRACT: Private class for FFI::Platypus::Legacy::Raw
our $VERSION = '0.06'; # VERSION
view all matches for this distribution
view release on metacpan or search on metacpan
lib/FFI/Platypus/Type/Enum.pm view on Meta::CPAN
use strict;
use warnings;
use constant 1.32 ();
use 5.008001;
use Ref::Util qw( is_plain_arrayref is_plain_hashref is_ref );
use Scalar::Util qw( dualvar );
use Carp qw( croak );
# ABSTRACT: Custom platypus type for dealing with C enumerated types
our $VERSION = '0.06'; # VERSION
view all matches for this distribution
view release on metacpan or search on metacpan
lib/FFI/Platypus/Type/PtrObject.pm view on Meta::CPAN
package FFI::Platypus::Type::PtrObject;
use strict;
use warnings;
use FFI::Platypus 1.11;
use Ref::Util qw( is_blessed_hashref );
use Carp ();
use 5.008001;
# ABSTRACT: Platypus custom type for an object wrapped around an opaque pointer
our $VERSION = '0.03'; # VERSION
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Feed/Data/Parser/RSS.pm view on Meta::CPAN
package Feed::Data::Parser::RSS;
use Moo;
extends 'Feed::Data::Parser::Base';
use XML::RSS::LibXML;
use Ref::Util ':all';
use Compiled::Params::OO qw/cpo/;
use Types::Standard qw/Object HashRef Str/;
our $validate;
BEGIN {
view all matches for this distribution
view release on metacpan or search on metacpan
lib/File/KDBX.pm view on Meta::CPAN
use File::KDBX::Error;
use File::KDBX::Safe;
use File::KDBX::Util qw(:class :coercion :empty :search :uuid erase simple_expression_query snakify);
use Hash::Util::FieldHash qw(fieldhashes);
use List::Util qw(any first);
use Ref::Util qw(is_ref is_arrayref is_plain_hashref);
use Scalar::Util qw(blessed);
use Time::Piece 1.33;
use boolean;
use namespace::clean;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/File/Rotate/Simple.pm view on Meta::CPAN
use Graph;
use List::Util 1.43, qw/ first /;
use Module::Runtime qw/ require_module /;
use Path::Tiny 0.015;
use Ref::Util qw/ is_blessed_ref /;
use Time::Seconds qw/ ONE_DAY /;
use Types::Standard -types;
use namespace::autoclean;
our $VERSION = 'v0.3.0';
# ABSTRACT: no-frills file rotation
# RECOMMEND PREREQ: Class::Load::XS
# RECOMMEND PREREQ: Ref::Util::XS
# RECOMMEND PREREQ: Type::Tiny::XS
our @EXPORT_OK = qw/ rotate_files /;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/File/XDG.pm view on Meta::CPAN
use strict;
use warnings;
use Carp ();
use Config;
use Ref::Util qw( is_coderef is_arrayref );
use if $^O eq 'MSWin32', 'Win32';
# ABSTRACT: Basic implementation of the XDG base directory specification
our $VERSION = '1.03'; # VERSION
view all matches for this distribution
view release on metacpan or search on metacpan
-- send_work_complete
-- send_work_fail
-- _get_js_sock: no execution of object _on_connect if callback is defined
-- fixing client do_task: do not overwrite on_fail callback
-- Gearman::Task support of low priority
-- remove Ref::Util dependency
2.002.004 2016-12-05 09:02:16 Europe/Berlin
-- requires Ref::Util >= 0.020; see cpan tester report 848fbc3e-b94f-11e6-8baf-a6caeafb6ca6
-- Makefile.PL updates
LICENSE: perl
min perl version 5.8.1
-- fixing worker GEARMAN_WORKER_USE_STDIO env test
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Geo/Address/Formatter.pm view on Meta::CPAN
use feature qw(say);
use Clone qw(clone);
use Data::Dumper;
$Data::Dumper::Sortkeys = 1;
use File::Basename qw(dirname);
use Ref::Util qw(is_hashref);
use Scalar::Util qw(looks_like_number);
use Text::Hogan::Compiler;
use Try::Catch;
use YAML::XS qw(LoadFile);
use utf8;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Geo/What3Words.pm view on Meta::CPAN
$Data::Dumper::Sortkeys = 1;
use Encode qw( decode_utf8 );
use HTTP::Tiny;
use Net::Ping;
use Net::Ping::External;
use Ref::Util qw( is_hashref is_coderef );
use URI;
# DO NOT TRY TO USE URI::XS IT JUST LEADS TO PROBLEMS
my $JSONXS = Cpanel::JSON::XS->new->allow_nonref(1);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Geoffrey/Changelog/Database.pm view on Meta::CPAN
}
sub insert {
my ($self, $s_file, $ur_data) = @_;
$self->_prepare_tables;
require Ref::Util;
return $self->{generated_sql} if Ref::Util::is_hashref($ur_data);
for my $hr_changeset (@{$ur_data}) {
next unless (exists $hr_changeset->{id});
next unless scalar @{$hr_changeset->{entries}};
push(
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Geoffrey/Converter/Pg/Index.pm view on Meta::CPAN
}
if ( !$params->{column} ) {
require Geoffrey::Exception::RequiredValue;
Geoffrey::Exception::RequiredValue::throw_refcolumn_missing();
}
require Ref::Util;
require Geoffrey::Utils;
return Geoffrey::Utils::replace_spare(
q~CREATE INDEX {0} ON {1} ({2})~,
[
Geoffrey::Utils::add_name(
lib/Geoffrey/Converter/Pg/Index.pm view on Meta::CPAN
context => $params->{table}
}
),
$params->{table},
(
join ', ', Ref::Util::is_arrayref( $params->{column} )
? @{ $params->{column} }
: ( $params->{column} )
)
]
);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Geoffrey/Action/Column.pm view on Meta::CPAN
use parent 'Geoffrey::Role::Action';
sub add {
my ($self, $hr_params, $constraint) = @_;
require Ref::Util;
if (!Ref::Util::is_hashref($hr_params)) {
require Geoffrey::Exception::General;
Geoffrey::Exception::General::throw_wrong_ref(__PACKAGE__ . '::add', 'hash');
}
return $self->appending($hr_params->{table}, $hr_params, $constraint) if $self->for_table;
my $tables = $self->converter->table;
lib/Geoffrey/Action/Column.pm view on Meta::CPAN
}
sub drop {
my ($self, $hr_params) = @_;
require Ref::Util;
if (!Ref::Util::is_hashref($hr_params)) {
require Geoffrey::Exception::General;
Geoffrey::Exception::General::throw_wrong_ref(__PACKAGE__ . '::drop', 'hash');
}
my $table = $self->converter->table;
if (!$table || !$table->can('drop_column')) {
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Graphics/Grid.pm view on Meta::CPAN
};
if ( $vp->$_isa('Graphics::Grid::Viewport') ) {
&$push_node($vp);
}
elsif ( Ref::Util::is_arrayref($vp) ) {
&$push_node(@$vp);
}
elsif ( $vp->$_isa('Graphics::Grid::ViewportTree') ) {
my $t = $vp;
$self->_current_vptree->add_child($t);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Guacamole/Deparse.pm view on Meta::CPAN
use warnings;
use parent 'Exporter';
use experimental qw< postderef signatures >;
use Guacamole;
use Data::Visitor::Tiny qw< visit >;
use Ref::Util qw< is_hashref >;
our @EXPORT_OK = qw< deparse >;
my $var_names_re = qr/^Var(Scalar|Array|Hash|Code|Glob|ArrayTop)$/;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/HTTP/CSPHeader.pm view on Meta::CPAN
use Fcntl qw/ O_NONBLOCK O_RDONLY /;
use List::Util 1.29 qw/ pairmap pairs /;
use Session::Token;
use Types::Common 2.000000 qw/ ArrayRef is_ArrayRef Bool HashRef IntRange Str /;
# RECOMMEND PREREQ: Ref::Util::XS
# RECOMMEND PREREQ: Type::Tiny::XS
use namespace::autoclean;
our $VERSION = 'v0.4.1';
view all matches for this distribution
view release on metacpan or search on metacpan
lib/AnyEvent/HTTP/MultiGet.pm view on Meta::CPAN
use Modern::Perl;
use Moo;
use MooX::Types::MooseLike::Base qw(:all);
use Data::Dumper;
use Ref::Util qw(is_plain_arrayref);
use namespace::clean;
Log::Log4perl->wrapper_register(__PACKAGE__);
BEGIN {
extends 'HTTP::MultiGet';
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Hadoop/HDFS/Command.pm view on Meta::CPAN
use Data::Dumper;
use DateTime::Format::Strptime;
use DateTime;
use Getopt::Long ();
use IPC::Cmd ();
use Ref::Util ();
use Time::HiRes qw( time );
use Types::Standard qw(Bool Str);
{ use Moo; }
lib/Hadoop/HDFS/Command.pm view on Meta::CPAN
@_ = ($self, $options, @cmd);
};
sub dfs {
my $self = shift;
my $options = Ref::Util::is_hashref $_[0] ? shift( @_ ) : {};
(my $cmd = shift || die "No dfs command specified") =~ s{ \A [-]+ }{}xms;
my $method = '_dfs_' . $cmd;
Carp::croak "'$cmd' is not implemented!" if ! $self->can( $method );
$self->$method( $options, @_ );
}
lib/Hadoop/HDFS/Command.pm view on Meta::CPAN
my $want_epoch = $options->{want_epoch};
my $cb = delete $options->{callback};
if ( $cb ) {
die "callback needs to be a CODE" if ! Ref::Util::is_coderef $cb;
if ( defined wantarray ) {
Carp::croak "You need to call this function in void context when callback is specified";
}
}
lib/Hadoop/HDFS/Command.pm view on Meta::CPAN
my @getopt_args = (
\@params,
\my %arg,
(
map { Ref::Util::is_arrayref $_ ? @{ $_ } : () }
$flags,
$opt,
),
);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Hadoop/Inline/ClassLoader.pm view on Meta::CPAN
our $VERSION = '0.002'; # VERSION
use Carp qw( croak );
use File::Basename qw( dirname );
use Ref::Util qw(
is_arrayref
is_hashref
);
use Constant::FromGlobal
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Hash/Match.pm view on Meta::CPAN
our $VERSION = 'v0.8.2';
use Carp qw/ croak /;
use List::AllUtils qw/ natatime /;
use Ref::Util qw/ is_arrayref is_blessed_ref is_coderef is_hashref is_ref is_regexpref /;
# RECOMMEND PREREQ: List::SomeUtils::XS
# RECOMMEND PREREQ: Ref::Util::XS
use namespace::autoclean;
sub new {
view all matches for this distribution