code stringlengths 2 1.05M | repo_name stringlengths 5 101 | path stringlengths 4 991 | language stringclasses 3
values | license stringclasses 5
values | size int64 2 1.05M |
|---|---|---|---|---|---|
=pod
=head1 NAME
ERR_get_error, ERR_peek_error, ERR_peek_last_error,
ERR_get_error_line, ERR_peek_error_line, ERR_peek_last_error_line,
ERR_get_error_line_data, ERR_peek_error_line_data,
ERR_peek_last_error_line_data - obtain error code and data
=head1 SYNOPSIS
#include <openssl/err.h>
unsigned long ERR_get_erro... | vbloodv/blood | extern/openssl.orig/doc/crypto/ERR_get_error.pod | Perl | mit | 2,719 |
#!/usr/bin/perl -w
use strict;
my $usage = "perl $0 ehotspot1 ehotspot2 output-interaction";
my $hotspot_file1 = shift || die $usage;
my $hotspot_file2 = shift || die $usage;
my $output = shift || die $usage;
open (IN1, $hotspot_file1)|| die "Cannot open file $hotspot_file1";
open (IN2, $hotspot_file2)|| die "Canno... | yihchii/hippie | cmd/ETScript/interaction_interChrm.pl | Perl | mit | 1,680 |
=head1 LICENSE
Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Copyright [2016] EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a ... | danstaines/ensembl | modules/Bio/EnsEMBL/Utils/Converter.pm | Perl | apache-2.0 | 5,888 |
#
# Copyright 2021 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | Tpo76/centreon-plugins | storage/hp/eva/cli/mode/components/iomodule.pm | Perl | apache-2.0 | 2,747 |
# Cared for by Ensembl
#
# Copyright GRL & EBI
#
# You may distribute this module under the same terms as perl itself
#
# POD documentation - main docs before the code
=pod
=head1 NAME
Bio::EnsEMBL::Compara::Production::GenomicAlignBlock::AlignmentChains
=head1 SYNOPSIS
my $db = Bio::EnsEMBL::DBAdaptor->ne... | adamsardar/perl-libs-custom | EnsemblAPI/ensembl-compara/modules/Bio/EnsEMBL/Compara/Production/GenomicAlignBlock/AlignmentChains.pm | Perl | apache-2.0 | 9,499 |
#
# Copyright 2022 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | centreon/centreon-plugins | storage/buffalo/terastation/snmp/mode/components/iscsi.pm | Perl | apache-2.0 | 2,724 |
#
# Copyright 2016 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | golgoth31/centreon-plugins | hardware/ups/standard/rfc1628/snmp/plugin.pm | Perl | apache-2.0 | 1,796 |
#
# Copyright 2021 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | Tpo76/centreon-plugins | apps/oracle/gg/local/mode/processes.pm | Perl | apache-2.0 | 6,868 |
#
# Copyright 2021 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | Tpo76/centreon-plugins | os/aix/local/mode/errpt.pm | Perl | apache-2.0 | 7,559 |
package Bio::EnsEMBL::Compara::RunnableDB::MemberDisplayLabelUpdater;
=pod
=head1 NAME
Bio::EnsEMBL::Compara::RunnableDB::MemberDisplayLabelUpdater
=head1 SYNOPSIS
Normally it is used as a RunnableDB however you can run it using the non-hive
methods:
my $u = Bio::EnsEMBL::Compara::RunnableDB::MemberDisplayLabelU... | adamsardar/perl-libs-custom | EnsemblAPI/ensembl-compara/modules/Bio/EnsEMBL/Compara/RunnableDB/MemberDisplayLabelUpdater.pm | Perl | apache-2.0 | 11,231 |
package Google::Ads::AdWords::v201809::FeedItemService::queryResponse;
use strict;
use warnings;
{ # BLOCK to scope variables
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201809' }
__PACKAGE__->__set_name('queryResponse');
__PACKAGE__->__set_nillable();
__PACKAGE__->__set_minOccurs();
__PACKAGE__->__... | googleads/googleads-perl-lib | lib/Google/Ads/AdWords/v201809/FeedItemService/queryResponse.pm | Perl | apache-2.0 | 1,768 |
package Paws::IAM::LoginProfile;
use Moose;
has CreateDate => (is => 'ro', isa => 'Str', required => 1);
has PasswordResetRequired => (is => 'ro', isa => 'Bool');
has UserName => (is => 'ro', isa => 'Str', required => 1);
1;
### main pod documentation begin ###
=head1 NAME
Paws::IAM::LoginProfile
=head1 USA... | ioanrogers/aws-sdk-perl | auto-lib/Paws/IAM/LoginProfile.pm | Perl | apache-2.0 | 1,788 |
# Copyright 2020, Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | googleads/google-ads-perl | lib/Google/Ads/GoogleAds/V10/Services/ConversionUploadService/Item.pm | Perl | apache-2.0 | 1,116 |
=pod
=head1 NAME
openssl-crl,
crl - CRL utility
=head1 SYNOPSIS
B<openssl> B<crl>
[B<-help>]
[B<-inform PEM|DER>]
[B<-outform PEM|DER>]
[B<-text>]
[B<-in filename>]
[B<-out filename>]
[B<-nameopt option>]
[B<-noout>]
[B<-hash>]
[B<-issuer>]
[B<-lastupdate>]
[B<-nextupdate>]
[B<-CAfile file>]
[B<-CApath dir>]
=head... | google/google-ctf | third_party/edk2/CryptoPkg/Library/OpensslLib/openssl/doc/apps/crl.pod | Perl | apache-2.0 | 2,845 |
package Paws::Firehose::KinesisStreamSourceDescription;
use Moose;
has DeliveryStartTimestamp => (is => 'ro', isa => 'Str');
has KinesisStreamARN => (is => 'ro', isa => 'Str');
has RoleARN => (is => 'ro', isa => 'Str');
1;
### main pod documentation begin ###
=head1 NAME
Paws::Firehose::KinesisStreamSourceDe... | ioanrogers/aws-sdk-perl | auto-lib/Paws/Firehose/KinesisStreamSourceDescription.pm | Perl | apache-2.0 | 1,767 |
package Paws::CodeDeploy::ListApplications;
use Moose;
has NextToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'nextToken' );
use MooseX::ClassAttribute;
class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListApplications');
class_has _returns => (isa => 'Str', i... | ioanrogers/aws-sdk-perl | auto-lib/Paws/CodeDeploy/ListApplications.pm | Perl | apache-2.0 | 1,753 |
#!/usr/bin/perl -w
#================================================================
# (C) 2013-2014 Dena Group Holding Limited.
#
# This program is used to operate the process of
# login & web server.
# Please check the options before using.
#
# Authors:
# Edison Chow <zhou.liyang@dena.jp>
#============... | eshujiushiwo/eshu-devops | tools/2015/nba.pl | Perl | apache-2.0 | 10,318 |
#!/usr/bin/perl -w
############################################################################
#
# AlchemyAPI Perl Example: Keyword Extraction
# Author: Orchestr8, LLC
# Copyright (C) 2009-2010, Orchestr8, LLC.
#
############################################################################
use strict;
use AlchemyAPI;... | AlchemyAPI/alchemyapi_perl | example/keywords.pl | Perl | apache-2.0 | 1,257 |
package VMOMI::CustomizationName;
use parent 'VMOMI::DynamicData';
use strict;
use warnings;
our @class_ancestors = (
'DynamicData',
);
our @class_members = ( );
sub get_class_ancestors {
return @class_ancestors;
}
sub get_class_members {
my $class = shift;
my @super_members = $class->SUPER::get_c... | stumpr/p5-vmomi | lib/VMOMI/CustomizationName.pm | Perl | apache-2.0 | 387 |
package Parakeet::RenderContext;
use strict;
use warnings;
use utf8;
use v5.12;
use Misc::DmUtil::Data qw(notEmpty);
# Return content
sub content
{
return shift()->{content};
} # end of 'content()'
# From target
sub fromTarget
{
return shift()->{fromTarget};
} # end of 'fromTarget()'
# Create object
s... | duncanmartin/parakeet | lib/Parakeet/RenderContext.pm | Perl | bsd-2-clause | 1,565 |
% Consider a social network with two types of relations (friend and spouse) as
% in Figure 1. Represent this network as a ProbLog input database (no
% probabilities).
person(alice).
person(bob).
person(carla).
person(dan).
friend(alice,dan).
friend(dan,bob).
friend(carla,alice).
friend(carla,bob).
spouse_(alice,bob... | toonn/capselaiv | holidays.pl | Perl | bsd-2-clause | 2,643 |
# Copyright (c) 2012, Mitchell Cooper
#
# provides LOLCAT command
# requires Acme::LOLCAT
#
# works exactly like PRIVMSG except translates your message to LOLCAT.
# unlike privmsg, it boings a PRIVMSG back to the client who sent it.
# it only works for channels.
package ext::LOLCAT;
use warnings;
use strict;
use Acm... | cooper/juno-mesh | mod/LOLCAT.pm | Perl | bsd-3-clause | 1,126 |
# samba-lib.pl
# Common functions for editing the samba config file
# XXX privileges for groups with 'net' command
BEGIN { push(@INC, ".."); };
use WebminCore;
&init_config();
%access = &get_module_acl();
$has_iconv = &has_command("iconv");
# Get the samba version
if (open(VERSION, "$module_config_directory/version")... | xtso520ok/webmin | samba/samba-lib.pl | Perl | bsd-3-clause | 26,149 |
#!/usr/bin/perl -w
use IO::Socket;
use strict;
use warnings;
fork;
my $server;
my $port;
my $nick;
my $user;
my $name;
my $chan;
my $fd;
my $in;
$server = "irc.tddirc.net";
$port = 6667;
$nick = "botop-test";
$user = "opnetsbot";
$name = "...";
$chan = "#test";
$fd = new IO::Socket::INET (PeerAddr => $server, P... | CodeThat/Information-Security | irc.pl | Perl | mit | 674 |
package Module::CoreList::Utils;
use strict;
use warnings;
use vars qw[$VERSION %utilities];
use Module::CoreList;
use Module::CoreList::TieHashDelta;
$VERSION = '3.03';
sub utilities {
my $perl = shift;
$perl = shift if eval { $perl->isa(__PACKAGE__) };
return unless $perl or exists $utilities{$perl};
... | Bjay1435/capstone | rootfs/usr/share/perl/5.18.2/Module/CoreList/Utils.pm | Perl | mit | 19,693 |
use v6;
# Specification:
# P22 (*) Create a list containing all integers within a given range.
# If first argument is smaller than second, produce a list in
# decreasing order.
# Example:
# > say ~range(4, 9);
# 4 5 6 7 8 9
# a. Simple version - but only works in order
say ~list(4 .. 9);
# b. T... | Mitali-Sodhi/CodeLingo | Dataset/perl/P22-scottp.pl | Perl | mit | 545 |
package Google::Ads::AdWords::v201409::DisplayAdSpec::ActivationOption;
use strict;
use warnings;
sub get_xmlns { 'https://adwords.google.com/api/adwords/o/v201409'};
# derivation by restriction
use base qw(
SOAP::WSDL::XSD::Typelib::Builtin::string);
1;
__END__
=pod
=head1 NAME
=head1 DESCRIPTION
Perl ... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201409/DisplayAdSpec/ActivationOption.pm | Perl | apache-2.0 | 1,152 |
#
# Copyright 2017 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | Shini31/centreon-plugins | storage/exagrid/snmp/mode/serverusage.pm | Perl | apache-2.0 | 9,780 |
#!/usr/bin/env perl -w
# This script generates licence.h (containing the PuTTY licence in the
# form of macros expanding to C string literals) from the LICENCE
# master file. It also regenerates the licence-related Halibut input
# files.
use File::Basename;
# Read the input file.
$infile = "LICENCE";
open my $in, $i... | Shocker/soft_putty | src/licence.pl | Perl | mit | 2,820 |
# This file is auto-generated by the Perl DateTime Suite time zone
# code generator (0.07) This code generator comes with the
# DateTime::TimeZone module distribution in the tools/ directory
#
# Generated from /tmp/ympzZnp0Uq/northamerica. Olson data version 2012c
#
# Do not edit this file directly.
#
package DateTim... | leighpauls/k2cro4 | third_party/perl/perl/vendor/lib/DateTime/TimeZone/Atlantic/Bermuda.pm | Perl | bsd-3-clause | 10,797 |
#-----------------------------------------------------------
# disablelastaccess.pl
#
# References:
# http://support.microsoft.com/kb/555041
# http://support.microsoft.com/kb/894372
#
# copyright 2008 H. Carvey, keydet89@yahoo.com
#-----------------------------------------------------------
package disablelastac... | APriestman/autopsy | thirdparty/rr-full/plugins/disablelastaccess.pl | Perl | apache-2.0 | 1,976 |
package Pod::Perldoc::ToTk;
use strict;
use warnings;
use vars qw($VERSION);
$VERSION = '3.17';
use parent qw(Pod::Perldoc::BaseTo);
sub is_pageable { 1 }
sub write_with_binmode { 0 }
sub output_extension { 'txt' } # doesn't matter
sub if_zero_length { } # because it will be 0-length!
sub new { return bles... | leighpauls/k2cro4 | third_party/perl/perl/lib/Pod/Perldoc/ToTk.pm | Perl | bsd-3-clause | 4,000 |
##
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
##
## This program is distributed under the terms and conditions of the GNU
## General Public License Version 2 as published by the Free Software
## Foundation or, at your opti... | Khouderchah-Alex/tetrad-engine | src/external/glew/auto/bin/make.pl | Perl | apache-2.0 | 5,095 |
###########################################################################
#
# This file is auto-generated by the Perl DateTime Suite locale
# generator (0.05). This code generator comes with the
# DateTime::Locale distribution in the tools/ directory, and is called
# generate-from-cldr.
#
# This file as generated fr... | Dokaponteam/ITF_Project | xampp/perl/vendor/lib/DateTime/Locale/rw_RW.pm | Perl | mit | 9,239 |
=head1 An overview of the testing modules available on CPAN
CPAN is filled with great modules to help you test your code. Here's a
short list of what's available, so you don't reinvent the wheel.
If you have a module to add to the list, please email
C<andy@petdance.com>.
=head1 General testing modules
=head3 Test:... | rjbs/perlweb | docs/qa/test-modules.pod | Perl | apache-2.0 | 9,499 |
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
# This file is built by mktables from e.g. UnicodeData.txt.
# Any changes made here will be lost!
#
# This file supports:
# \p{InNko} (and fuzzy permutations)
#
# Meaning: Block 'NKo'
#
return <<'END';
07C0 07FF NKo
END
| leighpauls/k2cro4 | third_party/cygwin/lib/perl5/5.10/unicore/lib/gc_sc/InNko.pl | Perl | bsd-3-clause | 268 |
package DDG::Spice::Hearthstone;
# ABSTRACT: Retrieve the card infos from Hearthstone game.
use DDG::Spice;
# Caching
spice is_cached => 1;
spice proxy_cache_valid => "200 4d";
# Triggers
triggers startend => "hearthstone";
# Target URL
spice to => 'http://bytevortex.net/hearthstone.php?search=$1';
# JS Callback
s... | soleo/zeroclickinfo-spice | lib/DDG/Spice/Hearthstone.pm | Perl | apache-2.0 | 920 |
use strict;
use warnings;
use IO::Handle;
STDOUT->autoflush(1);
STDERR->autoflush(1);
my $max = shift || 4;
for ( 1..$max ) {
$_ % 2
? print STDOUT $_
: print STDERR $_;
}
| Lh4cKg/sl4a | perl/src/lib/IPC/Cmd/t/src/output.pl | Perl | apache-2.0 | 195 |
=head1 NAME
Module::Build::Bundling - How to bundle Module::Build with a distribution
=head1 SYNOPSIS
# Build.PL
use inc::latest 'Module::Build';
Module::Build->new(
module_name => 'Foo::Bar',
license => 'perl',
)->create_build_script;
=head1 DESCRIPTION
B<WARNING -- THIS IS AN EXPERIMENTAL FEATUR... | liuyangning/WX_web | xampp/perl/lib/Module/Build/Bundling.pod | Perl | mit | 5,080 |
$ntp_str = `ntpq -c rv $ARGV[0]`;
$val = (split(/\,/,$ntp_str))[20];
$val =~ s/offset=//i;
$val = 1000.0 * $val; # convert to microseconds
$report = int ($val + 20);
if ($report < 0) {
$report = 0;
}
if ($report > 40) {
$report = 40;
}
print "0\n";
print "$report\n";
print "0\n";
print "0\n";
| rvdhoek/Raspberry-MRTG | GetNTP10usec.pl | Perl | mit | 300 |
package RiveScript::WD;
use strict;
use warnings;
# Version of the Perl RiveScript interpreter. This must be on a single line!
# See `perldoc version`
use version; our $VERSION = version->declare('v2.0.3');
# This is not a real module; it's only a current copy of the RiveScript
# Working Draft. See the latest versio... | aichaos/rivescript-perl | lib/RiveScript/WD.pm | Perl | mit | 50,928 |
#!/usr/bin/perl
use strict; use warnings;
my @inputdata;
my @fields,
my @data_sorted;
my $seqname;
my ($infilename) = @ARGV;
open (my $in, "< $infilename") or die "Can't open $infilename\n";
my $outfilename = $infilename . ".sorted";
$outfilename =~ s/results/fpkm/;
open (my $out, "> $outfilename") or die "Can't cre... | beanurn/orthoset | RSEM_results_sorted_by_comp_numerical.pl | Perl | mit | 988 |
package XML::XPath;
=head1 NAME
XML::XPath - Parse and evaluate XPath statements.
=head1 VERSION
Version 1.30
=cut
use strict; use warnings;
use vars qw($VERSION $AUTOLOAD $revision);
$VERSION = '1.30';
$XML::XPath::Namespaces = 1;
$XML::XPath::Debug = 0;
use Data::Dumper;
use XML::XPath::XMLParser;
use XML::XP... | jkb78/extrajnm | local/lib/perl5/XML/XPath.pm | Perl | mit | 18,434 |
#!/usr/bin/perl
# this script covert a 01 matrix to a to the transaction database, or
# adjacency matrix,
# each line is converted to the sequence of columns which has value 1.
$ARGC = @ARGV;
if ( $ARGC < 0 ){
printf ("01conv.pl: [separator] < input-file > output-file\n");
exit (1);
}
$count = 0;
%numbers = ();... | ehammo/mine-dep | src/C/shd31/01conv.pl | Perl | mit | 596 |
/* Part of SWISH
Author: Jan Wielemaker
E-mail: J.Wielemaker@cs.vu.nl
WWW: http://www.swi-prolog.org
Copyright (C): 2018, VU University Amsterdam
CWI Amsterdam
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification,... | TeamSPoon/logicmoo_workspace | packs_web/swish/lib/http_version.pl | Perl | mit | 9,331 |
#!C:\strawberry\perl\bin\perl.exe
# Write a program that works like mv: rename the first command-line argument
# to the second one; if the second argument is a directory, use the same
# original basename in the new directory
use 5.020;
use warnings;
use File::Basename;
use File::Spec::Functions;
die "Usage: chapter1... | bewuethr/ctci | llama_book/chapter13/chapter13_ex05.pl | Perl | mit | 550 |
#!/usr/bin/perl -w
# This script will read one fasta file and write to a new file of just fasta headers that contain only the sequence identifers.
# Megan Bowman
# 15 November 2013
use strict;
use Getopt::Long;
use Bio::Seq;
use Bio::SeqIO;
my $usage = "\nUsage: $0 --fastafile <fasta file name> --output <output fi... | Childs-Lab/GC_specific_MAKER | seq_name.pl | Perl | mit | 840 |
# Copyright (c) 2017 Marcel Greter.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, dist... | mgreter/perl-zopfli | lib/Compress/Zopfli.pm | Perl | mit | 4,283 |
# This file is auto-generated by the Perl DateTime Suite time zone
# code generator (0.07) This code generator comes with the
# DateTime::TimeZone module distribution in the tools/ directory
#
# Generated from /tmp/BU3Xn7v6Kb/australasia. Olson data version 2015g
#
# Do not edit this file directly.
#
package DateTime... | rosiro/wasarabi | local/lib/perl5/DateTime/TimeZone/Pacific/Fiji.pm | Perl | mit | 12,221 |
# $Id: RC4.pm,v 1.5 2001/05/04 08:58:22 btrott Exp $
package Net::SSH::Perl::Cipher::RC4;
use strict;
use Net::SSH::Perl::Cipher;
use base qw( Net::SSH::Perl::Cipher );
sub new {
my $class = shift;
my $ciph = bless { }, $class;
$ciph->init(@_) if @_;
$ciph;
}
sub init {
my $ciph = shift;
my... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/Net/SSH/Perl/Cipher/RC4.pm | Perl | mit | 1,983 |
###########################################################################
# Copyright (c) 2000-2006 Nate Wiger <nate@wiger.org>. All Rights Reserved.
# Please visit www.formbuilder.org for tutorials, support, and examples.
###########################################################################
# static fields a... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/CGI/FormBuilder/Field/static.pm | Perl | mit | 2,683 |
package Cline;
use warnings;
use strict;
use Coin;
sub new {
my $class = shift;
my $no_of_coins = shift;
my $self = {
cline => []
};
bless $self, $class;
for (my $i=0; $i < $no_of_coins; $i++) {
push(@{$self->{cline}}, Coin->new());
}
return $self;
}
sub flipAll {
my $self = shift... | timjinx/Sample-Repo | Coins/perl2/Cline.pm | Perl | apache-2.0 | 564 |
# Copyright 2020, Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | googleads/google-ads-perl | lib/Google/Ads/GoogleAds/V10/Enums/AssetSetLinkStatusEnum.pm | Perl | apache-2.0 | 825 |
#
# Copyright 2022 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | centreon/centreon-plugins | hardware/devices/cisco/ces/restapi/mode/components/aic.pm | Perl | apache-2.0 | 4,121 |
package Paws::Pinpoint::TreatmentResource;
use Moose;
has Id => (is => 'ro', isa => 'Str');
has MessageConfiguration => (is => 'ro', isa => 'Paws::Pinpoint::MessageConfiguration');
has Schedule => (is => 'ro', isa => 'Paws::Pinpoint::Schedule');
has SizePercent => (is => 'ro', isa => 'Int');
has State => (i... | ioanrogers/aws-sdk-perl | auto-lib/Paws/Pinpoint/TreatmentResource.pm | Perl | apache-2.0 | 2,157 |
=pod
=head1 NAME
=head1 SYNOPSIS
=head1 DESCRIPTION
=head1 LICENSE
Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Copyright [2016-2019] EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License"); you may n... | Ensembl/ensj-healthcheck | perl/Bio/EnsEMBL/Healthcheck/Pipeline/RunStandaloneHealthchecks_conf.pm | Perl | apache-2.0 | 2,440 |
#
# Copyright 2019 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | Sims24/centreon-plugins | database/mysql/plugin.pm | Perl | apache-2.0 | 4,452 |
package Paws::EC2::RunScheduledInstances;
use Moose;
has ClientToken => (is => 'ro', isa => 'Str');
has DryRun => (is => 'ro', isa => 'Bool');
has InstanceCount => (is => 'ro', isa => 'Int');
has LaunchSpecification => (is => 'ro', isa => 'Paws::EC2::ScheduledInstancesLaunchSpecification', required => 1);
... | ioanrogers/aws-sdk-perl | auto-lib/Paws/EC2/RunScheduledInstances.pm | Perl | apache-2.0 | 2,671 |
=head1 LICENSE
Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Copyright [2016-2021] EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obta... | Ensembl/ensembl-variation | modules/Bio/EnsEMBL/Variation/DBSQL/AlleleFeatureAdaptor.pm | Perl | apache-2.0 | 11,278 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% This file is part of VivoMind Prolog Unicode Resources
% SPDX-License-Identifier: CC0-1.0
%
% VivoMind Prolog Unicode Resources is free software distributed using the
% Creative Commons CC0 1.0 Universal (CC0 1.0) - Public Domain Ded... | LogtalkDotOrg/logtalk3 | library/unicode_data/unicode_case_folding.pl | Perl | apache-2.0 | 105,687 |
#
# (c) Jan Gehring <jan.gehring@gmail.com>
#
# vim: set ts=2 sw=2 tw=0:
# vim: set expandtab:
=head1 NAME
Rex::Box::VBox - Rex/Boxes VirtualBox Module
=head1 DESCRIPTION
This is a Rex/Boxes module to use VirtualBox VMs.
=head1 EXAMPLES
To use this module inside your Rexfile you can use the following commands.
... | gitpan/Rex | lib/Rex/Box/VBox.pm | Perl | apache-2.0 | 8,111 |
package Paws::WorkDocs::CreateLabels;
use Moose;
has AuthenticationToken => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'Authentication');
has Labels => (is => 'ro', isa => 'ArrayRef[Str|Undef]', required => 1);
has ResourceId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], u... | ioanrogers/aws-sdk-perl | auto-lib/Paws/WorkDocs/CreateLabels.pm | Perl | apache-2.0 | 2,276 |
#!/usr/bin/env perl
# Copyright [1999-2014] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://ww... | dbolser-ebi/ensembl-compara | modules/t/CreateCoreTestDatabase.pl | Perl | apache-2.0 | 13,439 |
#
# Copyright 2022 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | centreon/centreon-plugins | hardware/devices/camera/hikvision/snmp/mode/time.pm | Perl | apache-2.0 | 2,905 |
:- module( 'post_prune.common' , _ ).
:- set_prolog_flag(single_var_warnings,off).
:- use_module( '../bimtools' ).
:- use_module('../calc_chtree').
:- use_module('../more_specific/more_specific').
/* post_prune_chtree_minlvs(G,T,C,OC,NrLvs) :-
print(call_post_prune_chtree_minlvs(G,T,C)),nl,fail. */
post_prune_chtr... | leuschel/ecce | ecce_source/postprune/post_prune.common.pl | Perl | apache-2.0 | 2,412 |
#****h* My/Xml.pm
#NAME
# Xml.pm
#
# SYNOPSIS
#
# This module contains support functions for the xml files.
#
# Getting data out of it, and storing data in it.
#
#
# DESCRIPTION
#
#
#
#
# EXAMPLE
#
# See t/Xml.t
#
#
# FILES
#
# ATTRIBUTES
#
# SEE ALSO
#
#
# NOTES
#
#
# CAVEATS
#
# This script uses XML::LibXML.
#
#... | hpepper/idea-to-product | My/Xml.pm | Perl | apache-2.0 | 21,938 |
#
# Copyright 2016 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | bcournaud/centreon-plugins | apps/protocols/ntp/mode/offset.pm | Perl | apache-2.0 | 4,294 |
sub bind_hash
{
my ($dbh, $hash_ref, $table, @fields) = @_;
my $sql = 'SELECT ' . join(', ', @fields) . " FROM $table";
my $sth = $dbh->prepare( $sql );
$sth->execute();
$sth->bind_columns( \@$hash_ref{ @{ $sth->{NAME_lc} } } );
return sub { $sth->fetch() };
} | jmcveigh/komodo-tools | scripts/perl/bind_database_columns/bind_hash_sub.pl | Perl | bsd-2-clause | 305 |
package CDT7ProjectCreator;
# ************************************************************
# Description : A CDT7 Project Creator (Eclipse 3.6)
# Author : Adam Mitz, Object Computing, Inc.
# Create Date : 10/04/2010
# ************************************************************
# **************************... | wfnex/openbras | src/ace/ACE_wrappers/MPC/modules/CDT7ProjectCreator.pm | Perl | bsd-3-clause | 1,313 |
#! /usr/bin/perl -w
#
# Copyright (c) 2013, Carnegie Mellon University.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
# ... | RS1999ent/spectroscope | source/pipe/get_num_reqs.pl | Perl | bsd-3-clause | 1,806 |
package App::Netdisco::DB::Result::Virtual::NodesDiscovered;
use strict;
use warnings;
use base 'DBIx::Class::Core';
__PACKAGE__->table_class('DBIx::Class::ResultSource::View');
__PACKAGE__->table('nodes_discovered');
__PACKAGE__->result_source_instance->is_virtual(1);
__PACKAGE__->result_source_instance->view_defi... | netdisco/netdisco | lib/App/Netdisco/DB/Result/Virtual/NodesDiscovered.pm | Perl | bsd-3-clause | 1,321 |
###########################################################################
#
# This file is partially auto-generated by the DateTime::Locale generator
# tools (v0.10). This code generator comes with the DateTime::Locale
# distribution in the tools/ directory, and is called generate-modules.
#
# This file was generated... | jkb78/extrajnm | local/lib/perl5/DateTime/Locale/fr_CD.pod | Perl | mit | 9,695 |
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
# This file is machine-generated by lib/unicore/mktables from the Unicode
# database, Version 6.2.0. Any changes made here will be lost!
# !!!!!!! INTERNAL PERL USE ONLY !!!!!!!
# This file is for internal use by core Perl only. The format and even the
# name or existe... | Bjay1435/capstone | rootfs/usr/share/perl/5.18.2/unicore/lib/Sc/Ital.pl | Perl | mit | 447 |
#!/usr/bin/perl
# Copyright (c) 2011 Erik Aronesty (erik@q32.com)
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, co... | Naoto-Imamachi/NGS_data_analysis_pipeline | utils/gtf2bed.pl | Perl | mit | 3,788 |
# This file is auto-generated by the Perl DateTime Suite time zone
# code generator (0.07) This code generator comes with the
# DateTime::TimeZone module distribution in the tools/ directory
#
# Generated from /tmp/rnClxBLdxJ/africa. Olson data version 2013a
#
# Do not edit this file directly.
#
package DateTime::Tim... | Dokaponteam/ITF_Project | xampp/perl/vendor/lib/DateTime/TimeZone/Africa/Banjul.pm | Perl | mit | 1,722 |
# ftp-monitor.pl
# Monitor a remote FTP server by doing a test download
sub get_ftp_status
{
local $up = 0;
local $st = time();
local $error;
local $temp = &transname();
eval {
local $SIG{ALRM} = sub { die "alarm\n" }; # NB: \n required
alarm($_[0]->{'alarm'} ? $_[0]->{'alarm'} : 10);
if ($_[0]->{'tls'}) {
# Con... | HasClass0/webmin | status/ftp-monitor.pl | Perl | bsd-3-clause | 3,121 |
#! /usr/bin/env perl
# Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
#
# Licensed under the OpenSSL license (the "License"). You may not use
# this file except in compliance with the License. You can obtain a copy
# in the file LICENSE in the source distribution or at
# https://www.openssl.org... | openweave/openweave-core | third_party/openssl/openssl/crypto/des/asm/desboth.pl | Perl | apache-2.0 | 1,695 |
package DDG::Goodie::HTMLEntitiesDecode;
# ABSTRACT: Decode HTML Entities.
# HTML Entity Encoding has been moved to a separate module
use strict;
use DDG::Goodie;
use HTML::Entities 'decode_entities';
use Unicode::UCD 'charinfo';
use Text::Trim;
use warnings;
use strict;
zci answer_type => 'html_entity';
zci... | chanizzle/zeroclickinfo-goodies | lib/DDG/Goodie/HTMLEntitiesDecode.pm | Perl | apache-2.0 | 4,160 |
/* Part of SWI-Prolog
Author: R.A. O'Keefe, V.S. Costa, L. Damas, Jan Wielemaker
E-mail: J.Wielemaker@vu.nl
WWW: http://www.swi-prolog.org
Copyright (c) 2011-2016, Universidade do Porto, University of Amsterdam,
VU University Amsterdam.
All ri... | TeamSPoon/logicmoo_workspace | docker/rootfs/usr/local/lib/swipl/library/random.pl | Perl | mit | 11,682 |
package MIP::File::Path;
use 5.026;
use Carp;
use charnames qw{ :full :short };
use Cwd qw{ abs_path };
use English qw{ -no_match_vars };
use File::Basename qw{ fileparse };
use File::Spec::Functions qw{ splitpath };
use open qw{ :encoding(UTF-8) :std };
use Params::Check qw{ allow check last_error };
use utf8;
use wa... | henrikstranneheim/MIP | lib/MIP/File/Path.pm | Perl | mit | 11,193 |
#!/usr/bin/env perl
=head1 NAME
UpdateProgenyOffspringOfRelationship
=head1 SYNOPSIS
mx-run ThisPackageName [options] -H hostname -D dbname -u username [-F]
this is a subclass of L<CXGN::Metadata::Dbpatch>
see the perldoc of parent class for more details.
=head1 DESCRIPTION
update relationship or cross stock t... | solgenomics/sgn | db/00104/UpdateProgenyOffspringOfRelationship.pm | Perl | mit | 1,919 |
#!/usr/bin/env perl
use strict;
use warnings;
use Cwd qw(abs_path);
use Data::Dumper;
use File::Basename;
use File::Copy;
use File::Find;
use File::Path qw(make_path);
use File::Temp qw(tempfile);
use IO::Handle;
use POSIX qw(ctime);
$Data::Dumper::Indent = 1;
$Data::Dumper::Sortkeys = 1;
$Data::Dumper::Terse =... | megahall/mm-utils | bin/cscope-update.pl | Perl | mit | 2,442 |
#!C:\strawberry\perl\bin\perl.exe
# Program that acts like cat, but precedes each line with its file name
use 5.020;
use warnings;
while (<>) {
print "$ARGV: $_";
}
| bewuethr/ctci | llama_book/chapter05/wb_chapter05_ex01.pl | Perl | mit | 172 |
# This file is auto-generated by the Perl DateTime Suite time zone
# code generator (0.07) This code generator comes with the
# DateTime::TimeZone module distribution in the tools/ directory
#
# Generated from /tmp/BU3Xn7v6Kb/antarctica. Olson data version 2015g
#
# Do not edit this file directly.
#
package DateTime:... | rosiro/wasarabi | local/lib/perl5/DateTime/TimeZone/Antarctica/Syowa.pm | Perl | mit | 1,231 |
# Time-stamp: "Sat Jul 14 00:27:30 2001 by Automatic Bizooty (__blocks2pm.plx)"
$Text::\SEPA\Unicode\Unidecode::Char[0x56] = [
'Di ', 'Qi ', 'Jiao ', 'Chong ', 'Jiao ', 'Kai ', 'Tan ', 'San ', 'Cao ', 'Jia ', 'Ai ', 'Xiao ', 'Piao ', 'Lou ', 'Ga ', 'Gu ',
'Xiao ', 'Hu ', 'Hui ', 'Guo ', 'Ou ', 'Xian ', 'Ze ', 'Chang ',... | dmitrirussu/php-sepa-xml-generator | src/Unicode/data/perl_source/x56.pm | Perl | mit | 2,185 |
use Kook::Util ('read_file', 'write_file');
use Cwd;
my $project = prop('project', "Kook");
my $release = prop('release', "0.0100");
my $copyright = "copyright(c) 2009-2011 kuwata-lab.com all rights reserved.";
my $license = prop('license', "MIT License");
$kook->{default} = "test";
recipe "test", {
metho... | gitpan/Kook | Kookbook.pl | Perl | mit | 3,401 |
#!/usr/bin/perl -w
package SHPropSearch;
use strict;
use Tracer;
use CGI qw(-nosticky);
use HTML;
use Sprout;
use RHFeatures;
use base 'SearchHelper';
=head1 Property Search Feature Search Helper
=head2 Introduction
This search can be used to request all the features of a specified geno... | kbase/kb_seed | lib/SHPropSearch.pm | Perl | mit | 9,382 |
#!/usr/local/bin/perl
#cat broker_list_all | while read broker_list_all
#do
# echo $broker_list_all
# trade_count_compare_sql.ksh $broker_list_all
#done
my $InputFile = "broker_list_all";
my $OutputFile = "trade_count_univ.lis";
open(FD,"<$InputFile") or die("Couldn't open $InputFile\n");
@broker_list=<FD>;
close(... | pitpitman/GraduateWork | Knight/trade_count_compare_perl.pl | Perl | mit | 639 |
#!/sw/bin/perl
=head1 NAME
B<plot_distest.pl>
=head1 DESCRIPTION
Plot a figure with results from log-normal and negative binomial tests. Need to run C<distribution_test.pl> and C<grid_launcher_nb_test.pl> first to create test results. These test results should be in files:
WT_lnorm_lev_clean_test.dat
Snf2_lnor... | bartongroup/profDGE48 | Plotting/plot_distest.pl | Perl | mit | 3,618 |
package Paws::Pinpoint::SendMessages;
use Moose;
has ApplicationId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'application-id', required => 1);
has MessageRequest => (is => 'ro', isa => 'Paws::Pinpoint::MessageRequest', required => 1);
use MooseX::ClassAttribute;
class_has _stream_p... | ioanrogers/aws-sdk-perl | auto-lib/Paws/Pinpoint/SendMessages.pm | Perl | apache-2.0 | 2,025 |
package Google::Ads::AdWords::v201402::AdGroupCriterionService::query;
use strict;
use warnings;
{ # BLOCK to scope variables
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201402' }
__PACKAGE__->__set_name('query');
__PACKAGE__->__set_nillable();
__PACKAGE__->__set_minOccurs();
__PACKAGE__->__set_maxO... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201402/AdGroupCriterionService/query.pm | Perl | apache-2.0 | 1,947 |
#!/usr/bin/perl
# IBM_PROLOG_BEGIN_TAG
# This is an automatically generated prolog.
#
# $Source: src/usr/targeting/xmltohb/updatetargetxml.pl $
#
# OpenPOWER HostBoot Project
#
# COPYRIGHT International Business Machines Corp. 2012,2014
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not u... | shenki/hostboot | src/usr/targeting/xmltohb/updatetargetxml.pl | Perl | apache-2.0 | 3,539 |
package Paws::Discovery::ExportFilter;
use Moose;
has Condition => (is => 'ro', isa => 'Str', request_name => 'condition', traits => ['NameInRequest'], required => 1);
has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest'], required => 1);
has Values => (is => 'ro', isa => 'A... | ioanrogers/aws-sdk-perl | auto-lib/Paws/Discovery/ExportFilter.pm | Perl | apache-2.0 | 2,054 |
#
# Copyright 2022 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | centreon/centreon-plugins | storage/nimble/restapi/plugin.pm | Perl | apache-2.0 | 1,465 |
#
# Copyright 2016 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | golgoth31/centreon-plugins | apps/protocols/udp/mode/connection.pm | Perl | apache-2.0 | 3,896 |
package Dancer::Logger::Diag;
#ABSTRACT: Test::More diag() logging engine for Dancer
use strict;
use warnings;
use base 'Dancer::Logger::Abstract';
sub init {
my $self = shift;
$self->SUPER::init(@_);
require Test::More;
}
sub _log {
my ($self, $level, $message) = @_;
Test::More::diag(
$... | sonar-perl/sonar-perl | perl/Dancer/lib/Dancer/Logger/Diag.pm | Perl | apache-2.0 | 786 |
package Bio::EnsEMBL::Analysis::Runnable::Finished::Augustus;
# Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
# Copyright [2016-2017] EMBL-European Bioinformatics Institute
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this... | james-monkeyshines/ensembl-analysis | modules/Bio/EnsEMBL/Analysis/Runnable/Finished/Augustus.pm | Perl | apache-2.0 | 7,401 |
=head1 LICENSE
Copyright (c) 1999-2011 The European Bioinformatics Institute and
Genome Research Limited. All rights reserved.
This software is distributed under a modified Apache license.
For license details, please see
http://www.ensembl.org/info/about/code_licence.html
=head1 CONTACT
Please email comme... | adamsardar/perl-libs-custom | EnsemblAPI/ensembl-variation/modules/Bio/EnsEMBL/Variation/IndividualGenotype.pm | Perl | apache-2.0 | 6,982 |
#!/usr/bin/perl
use warnings;
use strict;
use 5.12.0;
my %h1 = ( a => 1, b => 2, c => 3, e => 5, );
my %h2 = ( a => 2, b => 2, d => 4, e => 5, );
my @filenames;
while ( my ( $k, $v ) = each %h1 ) {
if ( exists $h2{ $k } ) {
push @filenames, $k if $v == $h2{ $k };
}
}
say "$_" for @filenames;
| jmcveigh/komodo-tools | scripts/perl/hash_compare/comp.pl | Perl | bsd-2-clause | 314 |
#!/usr/bin/perl
use strict;
use warnings;
use 5.12.0;
use YAPE::Regex::Explain;
my $record = <<EOF;
Say this is a page from a book.
There are multiple ways to do this, but this
is only one. Say we want to go from here
taking this text that goes all the way
to here, we could do this...
EOF
# get everything bet... | jmcveigh/komodo-tools | scripts/perl/cut_text/c.pl | Perl | bsd-2-clause | 513 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.