view release on metacpan or search on metacpan
inc/Module/Install.pm view on Meta::CPAN
defined $_[0]
and
! ref $_[0]
and
$_[0] =~ m/^[^\W\d]\w*(?:::\w+)*$/s
) ? $_[0] : undef;
}
1;
# Copyright 2008 - 2009 Adam Kennedy.
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Module/Install.pm view on Meta::CPAN
defined $_[0]
and
! ref $_[0]
and
$_[0] =~ m/^[^\W\d]\w*(?:::\w+)*$/s
) ? $_[0] : undef;
}
1;
# Copyright 2008 - 2009 Adam Kennedy.
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Module/Install.pm view on Meta::CPAN
defined $_[0]
and
! ref $_[0]
and
$_[0] =~ m/^[^\W\d]\w*(?:::\w+)*$/s
) ? $_[0] : undef;
}
1;
# Copyright 2008 - 2009 Adam Kennedy.
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Module/Install.pm view on Meta::CPAN
defined $_[0]
and
! ref $_[0]
and
$_[0] =~ m/^[^\W\d]\w*(?:::\w+)*$/s
) ? $_[0] : undef;
}
1;
# Copyright 2008 - 2009 Adam Kennedy.
view all matches for this distribution
view release on metacpan or search on metacpan
sub add_build_tag {
my ($self,%NewTag) = @_;
warn 'ENTER add_build_tag' if $DEBUG_AUBBC;
$NewTag{function2} = $NewTag{function} || 'undefined!';
$NewTag{function} = check_subroutine($NewTag{function},'')
if $NewTag{type} ne '4';
$self->aubbc_error("Usage: add_build_tag - function 'Undefined subroutine' => $NewTag{function2}")
if ! $NewTag{function};
view all matches for this distribution
view release on metacpan or search on metacpan
lib/AVLTree.pm view on Meta::CPAN
Description : Creates a new AVL tree object.
The objects hold by the tree are implicitly defined
by the provided callback.
Returntype : AVLTreePtr or undef if unable to instantiate
Exceptions : None
Caller : General
Status : Unstable, interface might change to accomodate suitable defaults,
e.g. numbers
lib/AVLTree.pm view on Meta::CPAN
printf "Item with id %d found\nData: %s\n", $id, $result->{data};
} else { print "Item with id $id not found\n"; }
Description : Query if an item exists in the tree.
Returntype : The item, if found, as stored in the tree or undef
if the item was not found or the query was not provided
or it was undefined.
Exceptions : None
Caller : General
Status : Unstable
=head2 C<insert>
lib/AVLTree.pm view on Meta::CPAN
Example : my $item = $tree->first;
Description : Returns the first element as specified by the order defined by the tree.
Returntype : The item, if found, as stored in the tree or undef
if the tree is empty.
Exceptions : None
Caller : General
Status : Unstable
lib/AVLTree.pm view on Meta::CPAN
Example : my $item = $tree->last;
Description : Returns the last element as specified by the order defined by the tree.
Returntype : The item, if found, as stored in the tree or undef
if the tree is empty.
Exceptions : None
Caller : General
Status : Unstable
lib/AVLTree.pm view on Meta::CPAN
print $item, "\n";
while($item = $tree->next) { print $item, "\n"; }
Description : Returns the next element as specified by the order defined by the tree.
Returntype : The item, if found, as stored in the tree or undef
if the tree is empty.
Exceptions : None
Caller : General
Status : Unstable
lib/AVLTree.pm view on Meta::CPAN
print $item, "\n";
while($item = $tree->prev) { print $item, "\n"; }
Description : Returns the previous element as specified by the order defined by the tree.
Returntype : The item, if found, as stored in the tree or undef
if the tree is empty.
Exceptions : None
Caller : General
Status : Unstable
view all matches for this distribution
view release on metacpan or search on metacpan
lib/AWS/CLI/Config.pm view on Meta::CPAN
my $config = config($profile);
if ($config && $config->$profile_key) {
return $config->$profile_key;
}
return undef;
};
}
sub credentials {
my $profile = shift || _default_profile();
lib/AWS/CLI/Config.pm view on Meta::CPAN
return +{} unless -r $file;
my $contents;
{
local $/ = undef;
open my $fh, '<', $file;
$contents = <$fh>;
close( $fh );
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/AWS/CLIWrapper.pm view on Meta::CPAN
our $Error = { Message => '', Code => '' };
our $true = do { bless \(my $dummy = 1), "AWS::CLIWrapper::Boolean" };
our $false = do { bless \(my $dummy = 0), "AWS::CLIWrapper::Boolean" };
my $AWSCLI_VERSION = undef;
my $DEFAULT_CATCH_ERROR_RETRIES = 3;
my $DEFAULT_CATCH_ERROR_MIN_DELAY = 3;
my $DEFAULT_CATCH_ERROR_MAX_DELAY = 10;
sub new {
lib/AWS/CLIWrapper.pm view on Meta::CPAN
When defined, this option will enable catching `aws-cli` errors matching this pattern
and retrying `aws-cli` command execution. Environment variable
AWS_CLIWRAPPER_CATCH_ERROR_PATTERN takes precedence over this option, if both
are defined.
Default is undef.
catch_error_retries => Int (>= 0)
When defined, this option will set the number of retries to make when `aws-cli` error
was caught with catch_error_pattern, before giving up. Environment variable
AWS_CLIWRAPPER_CATCH_ERROR_RETRIES takes precedence over this option, if both
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Module/Install.pm view on Meta::CPAN
defined $_[0]
and
! ref $_[0]
and
$_[0] =~ m/^[^\W\d]\w*(?:::\w+)*$/s
) ? $_[0] : undef;
}
1;
# Copyright 2008 - 2009 Adam Kennedy.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/AWS/Lambda/Quick.pm view on Meta::CPAN
sub import {
shift;
# where's the source code of the script calling us?
my ( undef, $file, undef ) = caller;
# process the whole thing
my $proc = AWS::Lambda::Quick::Processor->new(
src_filename => $file,
@_,
view all matches for this distribution
view release on metacpan or search on metacpan
author/pod-stripper/scripts/pod_stripper.pl view on Meta::CPAN
sub dostrip {
my $file = shift;
my $strip = Pod::Strip->new;
my $module;
{ local $/ = undef;
open my $pm, '<', $file;
$module = <$pm>;
close $pm
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/AWS/Networks.pm view on Meta::CPAN
);
sub by_region {
my ($self, $region) = @_;
return AWS::Networks->new(
url => undef,
sync_token => $self->sync_token,
networks => [ grep { $_->{ region } eq $region } @{ $self->networks } ]
);
}
lib/AWS/Networks.pm view on Meta::CPAN
);
sub by_service {
my ($self, $service) = @_;
return AWS::Networks->new(
url => undef,
sync_token => $self->sync_token,
networks => [ grep { $_->{ service } eq $service } @{ $self->networks } ]
);
}
lib/AWS/Networks.pm view on Meta::CPAN
Standard Moose constructor. Can specify a custom URL to download a document that follows the same schema
=head2 url
Returns the URL from which the information was retrieved. Returns undef on filtered datasets
=head2 sync_token
Returns a DateTime object created from the current timestamp of the syncToken reported from the service
view all matches for this distribution
view release on metacpan or search on metacpan
lib/AWS/S3/Bucket.pm view on Meta::CPAN
return $self->_get_property( $type )->response->decoded_content();
},
trigger => sub {
my ( $self, $new_val, $old_val ) = @_;
my %shorts = map { $_ => undef } qw(
private public-read public-read-write authenticated-read
);
my %acl = ();
if ( $new_val =~ m{<} ) {
lib/AWS/S3/Bucket.pm view on Meta::CPAN
my $res = $parser->response;
confess "Cannot get file: ", $res->as_string, " " unless $res->is_success;
return AWS::S3::File->new(
bucket => $s,
key => $key || undef,
size => $res->header( 'content-length' ) || 0,
contenttype => $res->header( 'content-type' ) || 'application/octet-stream',
etag => $res->header( 'etag' ) || undef,
lastmodified => $res->header( 'last-modified' ) || undef,
is_encrypted => ( $res->header( 'x-amz-server-side-encryption' ) || '' ) eq 'AES256' ? 1 : 0,
);
} # end file()
sub add_file {
lib/AWS/S3/Bucket.pm view on Meta::CPAN
=item * ap-northeast-1
=back
The default value is undef which means 'US'.
See also L<PUT Bucket|http://docs.amazonwebservices.com/AmazonS3/latest/API/index.html?RESTBucketPUT.html>
=head2 policy
view all matches for this distribution
view release on metacpan or search on metacpan
t/02_valid_cert_url.t view on Meta::CPAN
my $sns = AWS::SNS::Verify->new(body => '');
throws_ok(
sub { $sns->valid_cert_url(undef) },
qr/\QThe SigningCertURL () isn't a valid URL/,
);
throws_ok(
sub { $sns->valid_cert_url("abc") },
view all matches for this distribution
view release on metacpan or search on metacpan
cpanfile.snapshot view on Meta::CPAN
provides:
App::Prove 3.30
App::Prove::State 3.30
App::Prove::State::Result 3.30
App::Prove::State::Result::Test 3.30
Harness::Hook undef
TAP::Base 3.30
TAP::Formatter::Base 3.30
TAP::Formatter::Color 3.30
TAP::Formatter::Console 3.30
TAP::Formatter::Console::ParallelSession 3.30
cpanfile.snapshot view on Meta::CPAN
pathname: G/GA/GAAS/URI-1.60.tar.gz
provides:
URI 1.60
URI::Escape 3.31
URI::Heuristic 4.20
URI::IRI undef
URI::QueryParam undef
URI::Split undef
URI::URL 5.04
URI::WithBase 2.20
URI::_foreign undef
URI::_generic undef
URI::_idna undef
URI::_ldap 1.12
URI::_login undef
URI::_punycode 0.04
URI::_query undef
URI::_segment undef
URI::_server undef
URI::_userpass undef
URI::data undef
URI::file 4.21
URI::file::Base undef
URI::file::FAT undef
URI::file::Mac undef
URI::file::OS2 undef
URI::file::QNX undef
URI::file::Unix undef
URI::file::Win32 undef
URI::ftp undef
URI::gopher undef
URI::http undef
URI::https undef
URI::ldap 1.12
URI::ldapi undef
URI::ldaps undef
URI::mailto undef
URI::mms undef
URI::news undef
URI::nntp undef
URI::pop undef
URI::rlogin undef
URI::rsync undef
URI::rtsp undef
URI::rtspu undef
URI::sip 0.11
URI::sips undef
URI::snews undef
URI::ssh undef
URI::telnet undef
URI::tn3270 undef
URI::urn undef
URI::urn::isbn undef
URI::urn::oid undef
requirements:
ExtUtils::MakeMaker 0
MIME::Base64 2
Test 0
Test::More 0
view all matches for this distribution
view release on metacpan or search on metacpan
lib/AWS/Signature4.pm view on Meta::CPAN
# Since we're providing auth via query parameters, we need to include UNSIGNED-PAYLOAD
# http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html
# it seems to only be needed for S3.
if ($scope =~ /\/s3\/aws4_request$/) {
$self->_sign($request, undef, 'UNSIGNED-PAYLOAD');
} else {
$self->_sign($request);
}
my ($algorithm,$credential,$signedheaders,$signature) =
view all matches for this distribution
view release on metacpan or search on metacpan
lib/AWS/XRay.pm view on Meta::CPAN
my $class = shift;
if (@_) {
my $auto_flush = shift;
if ($auto_flush != $AUTO_FLUSH) {
$Sock->close if $Sock && $Sock->can("close");
undef $Sock; # regenerate
}
$AUTO_FLUSH = $auto_flush;
}
$AUTO_FLUSH;
}
lib/AWS/XRay.pm view on Meta::CPAN
my $wantarray = wantarray;
my $enabled;
my $sampled = $SAMPLED;
if (defined $ENABLED) {
$enabled = $ENABLED ? 1 : 0; # fix true or false (not undef)
}
elsif ($TRACE_ID) {
$enabled = 0; # called from parent capture
}
else {
lib/AWS/XRay.pm view on Meta::CPAN
warn "failed to make directory: $err";
}
}
open my $fh, '>', '/tmp/.aws-xray/initialized' or warn "failed to create file: $!";
close $fh;
utime undef, undef, '/tmp/.aws-xray/initialized' or warn "failed to touch file: $!";
# patch the capture
no warnings 'redefine';
no strict 'refs';
my $org = \&capture;
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Module/Install.pm view on Meta::CPAN
# releases once we can make sure it won't clash with custom
# Module::Install extensions.
$VERSION = '1.16';
# Storage for the pseudo-singleton
$MAIN = undef;
*inc::Module::Install::VERSION = *VERSION;
@inc::Module::Install::ISA = __PACKAGE__;
}
inc/Module/Install.pm view on Meta::CPAN
defined $_[0]
and
! ref $_[0]
and
$_[0] =~ m/^[^\W\d]\w*(?:::\w+)*\z/s
) ? $_[0] : undef;
}
1;
# Copyright 2008 - 2012 Adam Kennedy.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Abstract/Meta/Attribute/Method.pm view on Meta::CPAN
sub deassociate_scalar_as_the_other_end {
my ($attr, $self, $the_other_end_obj) = @_;
$the_other_end_obj or return;
my $accessor = $attr->accessor;
$the_other_end_obj->$accessor(undef);
undef;
}
=item deassociate_hash_as_the_other_end
lib/Abstract/Meta/Attribute/Method.pm view on Meta::CPAN
delete $value->{$k};
return;
}
}
}
undef;
}
=item deassociate_array_as_the_other_end
lib/Abstract/Meta/Attribute/Method.pm view on Meta::CPAN
for my $i (0 .. $#{$value}) {
if ($value->[$i] eq $self) {
splice @$value, $i--, 1;
}
}
undef;
}
=item generate_scalar_mutator_method
lib/Abstract/Meta/Attribute/Method.pm view on Meta::CPAN
my $attr = shift;
my $mutator = $attr->mutator;
my $index_by = $attr->index_by;
sub {
my ($self, ) = @_;
$self->$mutator(undef);
};
}
=item generate_scalar_has_method
lib/Abstract/Meta/Attribute/Method.pm view on Meta::CPAN
my $attr = shift;
my $accessor = $attr->accessor;
my $item_accessor = $attr->item_accessor;
my $the_other_end = $attr->the_other_end;
my $meta = Abstract::Meta::Class::meta_class($attr->associated_class);
my $reflective_attribute = $the_other_end && $meta ? $meta->attribute($the_other_end) : undef;
my $index_by = $attr->index_by;
sub {
my ($self, @values) = @_;
my $hash_ref = $self->$accessor();
foreach my $value (@values) {
next unless ref($value);
my $key = ($index_by && ref($value) ? $value->$index_by : $value . "");
$attr->deassociate($self);
$reflective_attribute->set_value($hash_ref->{$key}, undef)
if $reflective_attribute;
delete $hash_ref->{$key};
}
$self;
};
lib/Abstract/Meta/Attribute/Method.pm view on Meta::CPAN
my $attr = shift;
my $accesor = $attr->accessor;
my $accessor = $attr->accessor;
my $the_other_end = $attr->the_other_end;
my $meta = Abstract::Meta::Class::meta_class($attr->associated_class);
my $reflective_attribute = $the_other_end && $meta ? $meta->attribute($the_other_end) : undef;
sub {
my ($self, @values) = @_;
my $array_ref = $self->$accesor();
foreach my $value(@values) {
for my $i (0 .. $#{$array_ref}) {
if ($array_ref->[$i] && $array_ref->[$i] eq $value) {
$reflective_attribute->set_value($value, undef)
if $reflective_attribute;
splice @$array_ref, $i--, 1;
}
}
}
view all matches for this distribution
view release on metacpan or search on metacpan
return ($self->_list)[0] unless $filltag;
if (defined $filltag && $filltag eq '1') { # full fill
return $self->_fetch();
} else {
return $self->_fetch(undef,undef,$filltag);
}
}
#### CACHE AND CARRY CODE ####
sub _alert_iterators {
my $self = shift;
foreach (keys %{$self->{iterators}}) {
$self->{iterators}{$_}->invalidate if $self->{iterators}{$_};
}
undef $self->{active_list};
}
sub asString {
my $self = shift;
return "tace://$self->{path}" if $self->{'path'};
create.
=item B<-timeout>
If no response from the server is received within $timeout seconds,
the call will return an undefined value. Internally timeout sets an
alarm and temporarily intercepts the ALRM signal. You should be aware
of this if you use ALRM for your own purposes.
NOTE: this feature is temporarily disabled (as of version 1.40)
because it is generating unpredictable results when used with
Apache/mod_perl.
=item B<-query_timeout>
If any query takes longer than $query_timeout seconds, will return an
undefined value. This value can only be set at connect time, and cannot
be changed once set.
=back
If arguments are omitted, they will default to the following values:
can open a connection this way too:
$db = connect Ace -host=>'beta.crbm.cnrs-mop.fr',-port=>20000100;
The return value is an Ace handle to use to access the database, or
undef if the connection fails. If the connection fails, an error
message can be retrieved by calling Ace->error.
You may check the status of a connection at any time with ping(). It
will return a true value if the database is still connected. Note
that Ace will timeout clients that have been inactive for any length
This method behaves differently depending on whether it is called in a
scalar or a list context, and whether it is asked to search for a name
pattern or a simple name.
When called with a class and a simple name, it returns the object
referenced by that time, or undef, if no such object exists. In an
array context, it will return an empty list.
When called with a class and a name pattern in a list context, fetch()
returns the list of objects that match the name. When called with a
pattern in a scalar context, fetch() returns the I<number> of objects
$object = $db->fetch(Sequence => 'D12345');
@objects = $db->fetch(Sequence => 'D1234*');
$cnt = $db->fetch(Sequence =>'D1234*');
A variety of communications and database errors may occur while
processing the request. When this happens, undef or an empty list
will be returned, and a string describing the error can be retrieved
by calling Ace->error.
When retrieving database objects, it is possible to retrieve a
"filled" or an "unfilled" object. A filled object contains the entire
$object = $db->get($class,$name [,$fill]);
The get() method will return one and only one AceDB object
identified by its class and name. The optional $fill argument can be
used to control how much data is retrieved from the database. If $fill
is absent or undefined, then the method will return a lightweight
"stub" object that is filled with information as requested in a lazy
fashion. If $fill is the number "1" then the retrieved object contains
all the relevant information contained within the database. Any other
true value of $fill will be treated as a tag name: the returned object
will be prefilled with the subtree to the right of that tag.
Ace::aql() will perform an AQL query on the database. In a scalar
context it returns the number of rows returned. In an array context
it returns a list of rows. Each row is an anonymous array containing
the columns returned by the query as an Ace::Object.
If an AQL error is encountered, will return undef or an empty list and
set Ace->error to the error message.
Note that this routine is not optimized -- there is no iterator
defined. All results are returned synchronously, leading to large
memory consumption for certain queries.
$object = $db->parse('data to parse');
This will parse the Ace tags contained within the "data to parse"
string, convert it into an object in the databse, and return the
resulting Ace::Object. In case of a parse error, the undefined value
will be returned and a (hopefully informative) description of the
error will be returned by Ace->error().
For example:
$object = $db->parse($title,$text);
This will parse the long text (which may contain carriage returns and
other funny characters) and place it into the database with the given
title. In case of a parse error, the undefined value will be returned
and a (hopefully informative) description of the error will be
returned by Ace->error(); otherwise, a LongText object will be returned.
For example:
$object = $db->new($class => $name);
This method creates a new object in the database of type $class and
name $name. If successful, it returns the newly-created object.
Otherwise it returns undef and sets $db->error().
$name may contain sprintf()-style patterns. If one of the patterns is
%d (or a variant), Acedb uses a class-specific unique numbering to return
a unique name. For example:
$i = $db->fetch_many(Sequence,'*'); # all sequences!!!!
while ($obj = $i->next) {
print $obj->asTable;
}
The iterator will return undef when it has finished iterating, and
cannot be used again. You can have multiple iterators open at once
and they will operate independently of each other.
Like B<fetch()>, B<fetch_many()> takes an optional B<-fill> (or
B<-filled>) argument which retrieves the entire object rather than
$obj = $db->new($class,$name);
$obj = $db->new(-class=>$class,
-name=>$name);
Create a new object in the database with the indicated class and name
and return a pointer to it. Will return undef if the object already
exists in the database. The object isn't actually written into the database
until you call Ace::Object::commit().
=head2 raw_query() method
=head2 debug()
$debug_level = Ace->debug([$new_level])
This class method gets or sets the debug level. Higher integers
increase verbosity. 0 or undef turns off debug messages.
=head2 name2db()
$db = Ace->name2db($name [,$database])
Connect to the host $host at port $port. Queries will time out after
$query_timeout seconds. If timeout is not specified, it defaults to
120 (two minutes).
If successful, this call returns an Ace::AceDB connection object.
Otherwise, it returns undef. Example:
$acedb = Ace::AceDB->new('localhost',200005,5)
|| die "Couldn't connect";
The Ace::AceDB object can also be accessed from the high-level Ace
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Acme/24.pm view on Meta::CPAN
if (exists $result{item} && UNIVERSAL::isa($result{item}, 'ARRAY'))
{
for my $fact (@{ $result{item} }) {
next if exists $seen{$fact->{title}};
push @facts, $fact->{title};
$seen{$fact->{title}} = undef;
}
}
sleep 1;
}
view all matches for this distribution
view release on metacpan or search on metacpan
cpanfile.snapshot view on Meta::CPAN
warnings::register 0
DateTime-Locale-0.45
pathname: D/DR/DROLSKY/DateTime-Locale-0.45.tar.gz
provides:
DateTime::Locale 0.45
DateTime::Locale::Base undef
DateTime::Locale::Catalog undef
DateTime::Locale::aa undef
DateTime::Locale::aa_DJ undef
DateTime::Locale::aa_ER undef
DateTime::Locale::aa_ER_SAAHO undef
DateTime::Locale::aa_ET undef
DateTime::Locale::af undef
DateTime::Locale::af_NA undef
DateTime::Locale::af_ZA undef
DateTime::Locale::ak undef
DateTime::Locale::ak_GH undef
DateTime::Locale::am undef
DateTime::Locale::am_ET undef
DateTime::Locale::ar undef
DateTime::Locale::ar_AE undef
DateTime::Locale::ar_BH undef
DateTime::Locale::ar_DZ undef
DateTime::Locale::ar_EG undef
DateTime::Locale::ar_IQ undef
DateTime::Locale::ar_JO undef
DateTime::Locale::ar_KW undef
DateTime::Locale::ar_LB undef
DateTime::Locale::ar_LY undef
DateTime::Locale::ar_MA undef
DateTime::Locale::ar_OM undef
DateTime::Locale::ar_QA undef
DateTime::Locale::ar_SA undef
DateTime::Locale::ar_SD undef
DateTime::Locale::ar_SY undef
DateTime::Locale::ar_TN undef
DateTime::Locale::ar_YE undef
DateTime::Locale::as undef
DateTime::Locale::as_IN undef
DateTime::Locale::az undef
DateTime::Locale::az_AZ undef
DateTime::Locale::az_Cyrl undef
DateTime::Locale::az_Cyrl_AZ undef
DateTime::Locale::az_Latn undef
DateTime::Locale::az_Latn_AZ undef
DateTime::Locale::be undef
DateTime::Locale::be_BY undef
DateTime::Locale::bg undef
DateTime::Locale::bg_BG undef
DateTime::Locale::bn undef
DateTime::Locale::bn_BD undef
DateTime::Locale::bn_IN undef
DateTime::Locale::bo undef
DateTime::Locale::bo_CN undef
DateTime::Locale::bo_IN undef
DateTime::Locale::bs undef
DateTime::Locale::bs_BA undef
DateTime::Locale::byn undef
DateTime::Locale::byn_ER undef
DateTime::Locale::ca undef
DateTime::Locale::ca_ES undef
DateTime::Locale::cch undef
DateTime::Locale::cch_NG undef
DateTime::Locale::cop undef
DateTime::Locale::cs undef
DateTime::Locale::cs_CZ undef
DateTime::Locale::cy undef
DateTime::Locale::cy_GB undef
DateTime::Locale::da undef
DateTime::Locale::da_DK undef
DateTime::Locale::de undef
DateTime::Locale::de_AT undef
DateTime::Locale::de_BE undef
DateTime::Locale::de_CH undef
DateTime::Locale::de_DE undef
DateTime::Locale::de_LI undef
DateTime::Locale::de_LU undef
DateTime::Locale::dv undef
DateTime::Locale::dv_MV undef
DateTime::Locale::dz undef
DateTime::Locale::dz_BT undef
DateTime::Locale::ee undef
DateTime::Locale::ee_GH undef
DateTime::Locale::ee_TG undef
DateTime::Locale::el undef
DateTime::Locale::el_CY undef
DateTime::Locale::el_GR undef
DateTime::Locale::el_POLYTON undef
DateTime::Locale::en undef
DateTime::Locale::en_AS undef
DateTime::Locale::en_AU undef
DateTime::Locale::en_BE undef
DateTime::Locale::en_BW undef
DateTime::Locale::en_BZ undef
DateTime::Locale::en_CA undef
DateTime::Locale::en_Dsrt undef
DateTime::Locale::en_Dsrt_US undef
DateTime::Locale::en_GB undef
DateTime::Locale::en_GU undef
DateTime::Locale::en_HK undef
DateTime::Locale::en_IE undef
DateTime::Locale::en_IN undef
DateTime::Locale::en_JM undef
DateTime::Locale::en_MH undef
DateTime::Locale::en_MP undef
DateTime::Locale::en_MT undef
DateTime::Locale::en_NA undef
DateTime::Locale::en_NZ undef
DateTime::Locale::en_PH undef
DateTime::Locale::en_PK undef
DateTime::Locale::en_SG undef
DateTime::Locale::en_Shaw undef
DateTime::Locale::en_TT undef
DateTime::Locale::en_UM undef
DateTime::Locale::en_US undef
DateTime::Locale::en_US_POSIX undef
DateTime::Locale::en_VI undef
DateTime::Locale::en_ZA undef
DateTime::Locale::en_ZW undef
DateTime::Locale::eo undef
DateTime::Locale::es undef
DateTime::Locale::es_AR undef
DateTime::Locale::es_BO undef
DateTime::Locale::es_CL undef
DateTime::Locale::es_CO undef
DateTime::Locale::es_CR undef
DateTime::Locale::es_DO undef
DateTime::Locale::es_EC undef
DateTime::Locale::es_ES undef
DateTime::Locale::es_GT undef
DateTime::Locale::es_HN undef
DateTime::Locale::es_MX undef
DateTime::Locale::es_NI undef
DateTime::Locale::es_PA undef
DateTime::Locale::es_PE undef
DateTime::Locale::es_PR undef
DateTime::Locale::es_PY undef
DateTime::Locale::es_SV undef
DateTime::Locale::es_US undef
DateTime::Locale::es_UY undef
DateTime::Locale::es_VE undef
DateTime::Locale::et undef
DateTime::Locale::et_EE undef
DateTime::Locale::eu undef
DateTime::Locale::eu_ES undef
DateTime::Locale::fa undef
DateTime::Locale::fa_AF undef
DateTime::Locale::fa_IR undef
DateTime::Locale::fi undef
DateTime::Locale::fi_FI undef
DateTime::Locale::fil undef
DateTime::Locale::fil_PH undef
DateTime::Locale::fo undef
DateTime::Locale::fo_FO undef
DateTime::Locale::fr undef
DateTime::Locale::fr_BE undef
DateTime::Locale::fr_CA undef
DateTime::Locale::fr_CH undef
DateTime::Locale::fr_FR undef
DateTime::Locale::fr_LU undef
DateTime::Locale::fr_MC undef
DateTime::Locale::fr_SN undef
DateTime::Locale::fur undef
DateTime::Locale::fur_IT undef
DateTime::Locale::ga undef
DateTime::Locale::ga_IE undef
DateTime::Locale::gaa undef
DateTime::Locale::gaa_GH undef
DateTime::Locale::gez undef
DateTime::Locale::gez_ER undef
DateTime::Locale::gez_ET undef
DateTime::Locale::gl undef
DateTime::Locale::gl_ES undef
DateTime::Locale::gsw undef
DateTime::Locale::gsw_CH undef
DateTime::Locale::gu undef
DateTime::Locale::gu_IN undef
DateTime::Locale::gv undef
DateTime::Locale::gv_GB undef
DateTime::Locale::ha undef
DateTime::Locale::ha_Arab undef
DateTime::Locale::ha_Arab_NG undef
DateTime::Locale::ha_Arab_SD undef
DateTime::Locale::ha_GH undef
DateTime::Locale::ha_Latn undef
DateTime::Locale::ha_Latn_GH undef
DateTime::Locale::ha_Latn_NE undef
DateTime::Locale::ha_Latn_NG undef
DateTime::Locale::ha_NE undef
DateTime::Locale::ha_NG undef
DateTime::Locale::ha_SD undef
DateTime::Locale::haw undef
DateTime::Locale::haw_US undef
DateTime::Locale::he undef
DateTime::Locale::he_IL undef
DateTime::Locale::hi undef
DateTime::Locale::hi_IN undef
DateTime::Locale::hr undef
DateTime::Locale::hr_HR undef
DateTime::Locale::hu undef
DateTime::Locale::hu_HU undef
DateTime::Locale::hy undef
DateTime::Locale::hy_AM undef
DateTime::Locale::hy_AM_REVISED undef
DateTime::Locale::ia undef
DateTime::Locale::id undef
DateTime::Locale::id_ID undef
DateTime::Locale::ig undef
DateTime::Locale::ig_NG undef
DateTime::Locale::ii undef
DateTime::Locale::ii_CN undef
DateTime::Locale::is undef
DateTime::Locale::is_IS undef
DateTime::Locale::it undef
DateTime::Locale::it_CH undef
DateTime::Locale::it_IT undef
DateTime::Locale::iu undef
DateTime::Locale::ja undef
DateTime::Locale::ja_JP undef
DateTime::Locale::ka undef
DateTime::Locale::ka_GE undef
DateTime::Locale::kaj undef
DateTime::Locale::kaj_NG undef
DateTime::Locale::kam undef
DateTime::Locale::kam_KE undef
DateTime::Locale::kcg undef
DateTime::Locale::kcg_NG undef
DateTime::Locale::kfo undef
DateTime::Locale::kfo_CI undef
DateTime::Locale::kk undef
DateTime::Locale::kk_Cyrl undef
DateTime::Locale::kk_Cyrl_KZ undef
DateTime::Locale::kk_KZ undef
DateTime::Locale::kl undef
DateTime::Locale::kl_GL undef
DateTime::Locale::km undef
DateTime::Locale::km_KH undef
DateTime::Locale::kn undef
DateTime::Locale::kn_IN undef
DateTime::Locale::ko undef
DateTime::Locale::ko_KR undef
DateTime::Locale::kok undef
DateTime::Locale::kok_IN undef
DateTime::Locale::kpe undef
DateTime::Locale::kpe_GN undef
DateTime::Locale::kpe_LR undef
DateTime::Locale::ku undef
DateTime::Locale::ku_Arab undef
DateTime::Locale::ku_Arab_IQ undef
DateTime::Locale::ku_Arab_IR undef
DateTime::Locale::ku_Arab_SY undef
DateTime::Locale::ku_IQ undef
DateTime::Locale::ku_IR undef
DateTime::Locale::ku_Latn undef
DateTime::Locale::ku_Latn_TR undef
DateTime::Locale::ku_SY undef
DateTime::Locale::ku_TR undef
DateTime::Locale::kw undef
DateTime::Locale::kw_GB undef
DateTime::Locale::ky undef
DateTime::Locale::ky_KG undef
DateTime::Locale::ln undef
DateTime::Locale::ln_CD undef
DateTime::Locale::ln_CG undef
DateTime::Locale::lo undef
DateTime::Locale::lo_LA undef
DateTime::Locale::lt undef
DateTime::Locale::lt_LT undef
DateTime::Locale::lv undef
DateTime::Locale::lv_LV undef
DateTime::Locale::mk undef
DateTime::Locale::mk_MK undef
DateTime::Locale::ml undef
DateTime::Locale::ml_IN undef
DateTime::Locale::mn undef
DateTime::Locale::mn_CN undef
DateTime::Locale::mn_Cyrl undef
DateTime::Locale::mn_Cyrl_MN undef
DateTime::Locale::mn_MN undef
DateTime::Locale::mn_Mong undef
DateTime::Locale::mn_Mong_CN undef
DateTime::Locale::mo undef
DateTime::Locale::mr undef
DateTime::Locale::mr_IN undef
DateTime::Locale::ms undef
DateTime::Locale::ms_BN undef
DateTime::Locale::ms_MY undef
DateTime::Locale::mt undef
DateTime::Locale::mt_MT undef
DateTime::Locale::my undef
DateTime::Locale::my_MM undef
DateTime::Locale::nb undef
DateTime::Locale::nb_NO undef
DateTime::Locale::nds undef
DateTime::Locale::nds_DE undef
DateTime::Locale::ne undef
DateTime::Locale::ne_IN undef
DateTime::Locale::ne_NP undef
DateTime::Locale::nl undef
DateTime::Locale::nl_BE undef
DateTime::Locale::nl_NL undef
DateTime::Locale::nn undef
DateTime::Locale::nn_NO undef
DateTime::Locale::no undef
DateTime::Locale::nr undef
DateTime::Locale::nr_ZA undef
DateTime::Locale::nso undef
DateTime::Locale::nso_ZA undef
DateTime::Locale::ny undef
DateTime::Locale::ny_MW undef
DateTime::Locale::oc undef
DateTime::Locale::oc_FR undef
DateTime::Locale::om undef
DateTime::Locale::om_ET undef
DateTime::Locale::om_KE undef
DateTime::Locale::or undef
DateTime::Locale::or_IN undef
DateTime::Locale::pa undef
DateTime::Locale::pa_Arab undef
DateTime::Locale::pa_Arab_PK undef
DateTime::Locale::pa_Guru undef
DateTime::Locale::pa_Guru_IN undef
DateTime::Locale::pa_IN undef
DateTime::Locale::pa_PK undef
DateTime::Locale::pl undef
DateTime::Locale::pl_PL undef
DateTime::Locale::ps undef
DateTime::Locale::ps_AF undef
DateTime::Locale::pt undef
DateTime::Locale::pt_BR undef
DateTime::Locale::pt_PT undef
DateTime::Locale::ro undef
DateTime::Locale::ro_MD undef
DateTime::Locale::ro_RO undef
DateTime::Locale::root undef
DateTime::Locale::ru undef
DateTime::Locale::ru_RU undef
DateTime::Locale::ru_UA undef
DateTime::Locale::rw undef
DateTime::Locale::rw_RW undef
DateTime::Locale::sa undef
DateTime::Locale::sa_IN undef
DateTime::Locale::se undef
DateTime::Locale::se_FI undef
DateTime::Locale::se_NO undef
DateTime::Locale::sh undef
DateTime::Locale::sh_BA undef
DateTime::Locale::sh_CS undef
DateTime::Locale::sh_YU undef
DateTime::Locale::si undef
DateTime::Locale::si_LK undef
DateTime::Locale::sid undef
DateTime::Locale::sid_ET undef
DateTime::Locale::sk undef
DateTime::Locale::sk_SK undef
DateTime::Locale::sl undef
DateTime::Locale::sl_SI undef
DateTime::Locale::so undef
DateTime::Locale::so_DJ undef
DateTime::Locale::so_ET undef
DateTime::Locale::so_KE undef
DateTime::Locale::so_SO undef
DateTime::Locale::sq undef
DateTime::Locale::sq_AL undef
DateTime::Locale::sr undef
DateTime::Locale::sr_BA undef
DateTime::Locale::sr_CS undef
DateTime::Locale::sr_Cyrl undef
DateTime::Locale::sr_Cyrl_BA undef
DateTime::Locale::sr_Cyrl_CS undef
DateTime::Locale::sr_Cyrl_ME undef
DateTime::Locale::sr_Cyrl_RS undef
DateTime::Locale::sr_Cyrl_YU undef
DateTime::Locale::sr_Latn undef
DateTime::Locale::sr_Latn_BA undef
DateTime::Locale::sr_Latn_CS undef
DateTime::Locale::sr_Latn_ME undef
DateTime::Locale::sr_Latn_RS undef
DateTime::Locale::sr_Latn_YU undef
DateTime::Locale::sr_ME undef
DateTime::Locale::sr_RS undef
DateTime::Locale::sr_YU undef
DateTime::Locale::ss undef
DateTime::Locale::ss_SZ undef
DateTime::Locale::ss_ZA undef
DateTime::Locale::st undef
DateTime::Locale::st_LS undef
DateTime::Locale::st_ZA undef
DateTime::Locale::sv undef
DateTime::Locale::sv_FI undef
DateTime::Locale::sv_SE undef
DateTime::Locale::sw undef
DateTime::Locale::sw_KE undef
DateTime::Locale::sw_TZ undef
DateTime::Locale::syr undef
DateTime::Locale::syr_SY undef
DateTime::Locale::ta undef
DateTime::Locale::ta_IN undef
DateTime::Locale::te undef
DateTime::Locale::te_IN undef
DateTime::Locale::tg undef
DateTime::Locale::tg_Cyrl undef
DateTime::Locale::tg_Cyrl_TJ undef
DateTime::Locale::tg_TJ undef
DateTime::Locale::th undef
DateTime::Locale::th_TH undef
DateTime::Locale::ti undef
DateTime::Locale::ti_ER undef
DateTime::Locale::ti_ET undef
DateTime::Locale::tig undef
DateTime::Locale::tig_ER undef
DateTime::Locale::tl undef
DateTime::Locale::tn undef
DateTime::Locale::tn_ZA undef
DateTime::Locale::to undef
DateTime::Locale::to_TO undef
DateTime::Locale::tr undef
DateTime::Locale::tr_TR undef
DateTime::Locale::trv undef
DateTime::Locale::trv_TW undef
DateTime::Locale::ts undef
DateTime::Locale::ts_ZA undef
DateTime::Locale::tt undef
DateTime::Locale::tt_RU undef
DateTime::Locale::ug undef
DateTime::Locale::ug_Arab undef
DateTime::Locale::ug_Arab_CN undef
DateTime::Locale::ug_CN undef
DateTime::Locale::uk undef
DateTime::Locale::uk_UA undef
DateTime::Locale::ur undef
DateTime::Locale::ur_IN undef
DateTime::Locale::ur_PK undef
DateTime::Locale::uz undef
DateTime::Locale::uz_AF undef
DateTime::Locale::uz_Arab undef
DateTime::Locale::uz_Arab_AF undef
DateTime::Locale::uz_Cyrl undef
DateTime::Locale::uz_Cyrl_UZ undef
DateTime::Locale::uz_Latn undef
DateTime::Locale::uz_Latn_UZ undef
DateTime::Locale::uz_UZ undef
DateTime::Locale::ve undef
DateTime::Locale::ve_ZA undef
DateTime::Locale::vi undef
DateTime::Locale::vi_VN undef
DateTime::Locale::wal undef
DateTime::Locale::wal_ET undef
DateTime::Locale::wo undef
DateTime::Locale::wo_Latn undef
DateTime::Locale::wo_Latn_SN undef
DateTime::Locale::wo_SN undef
DateTime::Locale::xh undef
DateTime::Locale::xh_ZA undef
DateTime::Locale::yo undef
DateTime::Locale::yo_NG undef
DateTime::Locale::zh undef
DateTime::Locale::zh_CN undef
DateTime::Locale::zh_HK undef
DateTime::Locale::zh_Hans undef
DateTime::Locale::zh_Hans_CN undef
DateTime::Locale::zh_Hans_HK undef
DateTime::Locale::zh_Hans_MO undef
DateTime::Locale::zh_Hans_SG undef
DateTime::Locale::zh_Hant undef
DateTime::Locale::zh_Hant_HK undef
DateTime::Locale::zh_Hant_MO undef
DateTime::Locale::zh_Hant_TW undef
DateTime::Locale::zh_MO undef
DateTime::Locale::zh_SG undef
DateTime::Locale::zh_TW undef
DateTime::Locale::zu undef
DateTime::Locale::zu_ZA undef
requirements:
List::MoreUtils 0
Module::Build 0
Params::Validate 0.91
perl 5.006
cpanfile.snapshot view on Meta::CPAN
strict 0
warnings 0
Package-Stash-XS-0.28
pathname: D/DO/DOY/Package-Stash-XS-0.28.tar.gz
provides:
CompileTime undef
Package::Stash::XS 0.28
requirements:
ExtUtils::MakeMaker 6.30
XSLoader 0
strict 0
cpanfile.snapshot view on Meta::CPAN
perl 5.00503
Params-Validate-1.13
pathname: D/DR/DROLSKY/Params-Validate-1.13.tar.gz
provides:
Attribute::Params::Validate 1.13
Bar undef
Baz undef
Foo undef
PVTests undef
PVTests::Callbacks undef
PVTests::Defaults undef
PVTests::Regex undef
PVTests::Standard undef
PVTests::With undef
Params::Validate 1.13
Params::Validate::Constants 1.13
Params::Validate::PP 1.13
Params::Validate::XS 1.13
Quux undef
Testing::X undef
Yadda undef
inc::MyModuleBuild undef
requirements:
Attribute::Handlers 0.79
Carp 0
Exporter 0
ExtUtils::CBuilder 0
view all matches for this distribution
view release on metacpan or search on metacpan
ok( defined &sum, 'sum() is defined' );
is( sum( 1, 2, 3 ), 6, '1+2+3 is six' );
is( sum( qw(1 2 3) ), 6, '1+2+3 as strings is six' );
is( sum( 4, -9, 37, 6 ), 38, '4-9+37+6 is 38' );
is( sum( 3.14, 2.2 ), 5.34, '3.14 + 2.2 is 5.34' );
is( sum(), undef, 'No arguments returns undef' );
is( sum( qw(a b) ), undef, 'All bad args gives undef' );
is( sum( qw(a b 4 5) ), 9, 'Some good args works' );
done_testing();
view all matches for this distribution
view release on metacpan or search on metacpan
BEGIN {
use_ok( 'Acme::ARUHI::Utils' ) || print "Bail out!\n";
}
ok(defined &Acme::ARUHI::Utils::sum);
is(sum, undef);
is(sum(1), 1);
is(sum(1,2), 3);
is(sum(1,2,3), 6);
is(sum(qw/a 1 2/), 3);
is(sum(qw/a b c/), undef);
done_testing;
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Module/Install.pm view on Meta::CPAN
defined $_[0]
and
! ref $_[0]
and
$_[0] =~ m/^[^\W\d]\w*(?:::\w+)*$/s
) ? $_[0] : undef;
}
1;
# Copyright 2008 Adam Kennedy.
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Module/Install.pm view on Meta::CPAN
# releases once we can make sure it won't clash with custom
# Module::Install extensions.
$VERSION = '1.06';
# Storage for the pseudo-singleton
$MAIN = undef;
*inc::Module::Install::VERSION = *VERSION;
@inc::Module::Install::ISA = __PACKAGE__;
}
inc/Module/Install.pm view on Meta::CPAN
defined $_[0]
and
! ref $_[0]
and
$_[0] =~ m/^[^\W\d]\w*(?:::\w+)*\z/s
) ? $_[0] : undef;
}
1;
# Copyright 2008 - 2012 Adam Kennedy.
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Module/Install.pm view on Meta::CPAN
# releases once we can make sure it won't clash with custom
# Module::Install extensions.
$VERSION = '0.91';
# Storage for the pseudo-singleton
$MAIN = undef;
*inc::Module::Install::VERSION = *VERSION;
@inc::Module::Install::ISA = __PACKAGE__;
}
inc/Module/Install.pm view on Meta::CPAN
defined $_[0]
and
! ref $_[0]
and
$_[0] =~ m/^[^\W\d]\w*(?:::\w+)*\z/s
) ? $_[0] : undef;
}
1;
# Copyright 2008 - 2009 Adam Kennedy.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Acme/AlgebraicToRPN.pm view on Meta::CPAN
asinh
acosh
Plus any that you may add in constructor [1].
undef is returned if the parens don't balance. That's all the
checking we do.
[1] If you supply a custom function, you can supply arguments
to it. When you see your function name on the returned stack,
the next thing on the stack is the I<number> of arguments,
lib/Acme/AlgebraicToRPN.pm view on Meta::CPAN
);
if ($@) {
print STDERR "$.Class - equation didn't parse; did you forget ",
"to add a userFunc?\n";
return undef;
}
$rpn =~ s/\s//g;
./_Eval($rpn);
my @result = ./_Cleanup();
view all matches for this distribution
view release on metacpan or search on metacpan
t/00_diag.t view on Meta::CPAN
my $pm = "$module.pm";
$pm =~ s{::}{/}g;
if(eval { require $pm; 1 })
{
my $ver = eval { $module->VERSION };
$ver = 'undef' unless defined $ver;
diag sprintf $format, $module, $ver;
}
else
{
diag sprintf $format, $module, '-';
view all matches for this distribution