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 |
|---|---|---|---|---|---|
package #
Date::Manip::Offset::off244;
# Copyright (c) 2008-2014 Sullivan Beck. All rights reserved.
# This program is free software; you can redistribute it and/or modify it
# under the same terms as Perl itself.
# This file was automatically generated. Any changes to this file will
# be lost the next time 'tzdata'... | nriley/Pester | Source/Manip/Offset/off244.pm | Perl | bsd-2-clause | 853 |
package RSP;
use Moose;
use Cwd;
use base 'Mojo';
use Scalar::Util qw( weaken );
our $VERSION = '1.2';
use Application::Config 'rsp.conf';
use RSP::Config;
use Try::Tiny;
# use Carp::Always;
our $CONFIG;
sub conf {
my $class = shift;
if(!$CONFIG){
$CONFIG = RSP::Config->new(config => { %{ $class... | sanyaade-mobiledev/smart-platform | lib/RSP.pm | Perl | mit | 1,719 |
package DateTime::Duration;
{
$DateTime::Duration::VERSION = '0.74';
}
use strict;
use warnings;
use Carp ();
use DateTime;
use DateTime::Helpers;
use Params::Validate qw( validate SCALAR );
use overload (
fallback => 1,
'+' => '_add_overload',
'-' => '_subtract_overload',
'*' => '_m... | leighpauls/k2cro4 | third_party/perl/perl/vendor/lib/DateTime/Duration.pm | Perl | bsd-3-clause | 17,491 |
#!/usr/bin/perl
use strict;
use warnings;
use File::Find;
our %used_keys = ();
our %registered_keys = ();
my $piwigo_dir = $ARGV[0]; # '/home/pierrick/public_html/piwigo/dev/trunk';
my $type = $ARGV[1]; # common, admin, install, upgrade
find(\&used_keys, $piwigo_dir);
load_registered_keys($type);
# foreach ... | ale252/theatre | web/piwigo/tools/missing_keys.pl | Perl | mit | 4,998 |
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | zhreshold/mxnet | perl-package/AI-MXNet/lib/AI/MXNet/NS.pm | Perl | apache-2.0 | 2,375 |
package API::FederationDeliveryService;
#
#
# 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... | jeffmart/incubator-trafficcontrol | traffic_ops/app/lib/API/FederationDeliveryService.pm | Perl | apache-2.0 | 3,895 |
#!/usr/bin/perl
##
## Copyright (c) 2010 The WebM project authors. All Rights Reserved.
##
## Use of this source code is governed by a BSD-style license
## that can be found in the LICENSE file in the root of the source
## tree. An additional intellectual property rights grant can be found
## in the file PATENTS. ... | roisagiv/webrtc-ios | third_party/libvpx/source/libvpx/build/make/ads2gas.pl | Perl | bsd-3-clause | 3,535 |
=begin comment
OEML - REST API
This section will provide necessary information about the `CoinAPI OEML REST API` protocol. <br/> This API is also available in the Postman application: <a href=\"https://postman.coinapi.io/\" target=\"_blank\">https://postman.coinapi.io/</a> <br/><br/> Implemented Standards: * ... | coinapi/coinapi-sdk | oeml-sdk/perl/lib/WWW/OpenAPIClient/ApiClient.pm | Perl | mit | 12,297 |
#!/usr/bin/env perl
package ProNTo::Methods;
#use diagnostics;
use strict;
use warnings;
use Getopt::Long;
use File::Spec; # for class methods related to file path parsing
use File::Basename; # for dirname function
use Exporter;
our @ISA = qw(Exporter);
# #################################
# TBC : which variables ... | lmmx/ProNTo | lib/ProNTo/Methods.pm | Perl | mit | 3,414 |
#!/usr/bin/perl -w
# Use DBus to create a conference call with skype
# Released 10 March 2009 by orthopteroid@gmail.net
# Requires the perl module Net::DBus
# Based upon "Control Skype API via DBus using perl" by jlh at gmx dot ch
use strict;
use warnings;
package SkypeConference; # ---------------------------------... | orthopteroid/dbus-skype-conference | skype-conference.pl | Perl | mit | 2,288 |
package WebService::Telnic::Client::Domain;
use WebService::Telnic::Util qw(XMLin);
our $VERSION = '0.2';
sub createZone {
my $self = shift;
my %data = @_;
croak("Need at least one of nameserverCount or nameservers")
unless $data{nameserverCount} || $data{nameservers};
$data{nameservers} ||... | pmakholm/telnic-perl | lib/WebService/Telnic/Client/Domain.pm | Perl | mit | 4,248 |
#!/usr/bin/perl
use strict;
use warnings;
use DBI;
my @drivers = DBI->available_drivers() ;
die "No dirvers defined! \n" unless @drivers;
foreach my $driver (@drivers) {
print "Driver: $driver \n";
my @data_sources = DBI->data_sources ($driver);
foreach my $data_source (@data_sources) {
print ... | MarsBighead/mustang | Perl/db-info.pl | Perl | mit | 381 |
#
# FOAMkit: Project management for OpenFOAM
#
# sim.pm - Subroutines for running simulation.
#
package sim;
use strict;
use warnings;
use List::Util qw( max );
use foamkitenv;
use kittools;
use kitsetup;
use base 'Exporter';
our @EXPORT = qw/ reset_initial_fields run_simulation monitor_simulation end_simulation c... | MasterOfBinary/foamkit | lib/sim.pm | Perl | mit | 4,400 |
#
# 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 | network/juniper/common/screenos/mode/memory.pm | Perl | apache-2.0 | 4,793 |
# 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/V9/Services/KeywordPlanAdGroupService/MutateKeywordPlanAdGroupsResponse.pm | Perl | apache-2.0 | 1,138 |
#
# 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 | hardware/server/dell/idrac/snmp/mode/components/storagectrl.pm | Perl | apache-2.0 | 2,907 |
=head1 LICENSE
Copyright [1999-2013] 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://www.apache.org/licen... | Ensembl/ensembl-draw | modules/Bio/EnsEMBL/GlyphSet/gsv_transcript.pm | Perl | apache-2.0 | 5,894 |
=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-webcode | modules/EnsEMBL/Web/Component/Variation/PopulationGraphs.pm | Perl | apache-2.0 | 8,009 |
#
# 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 | hardware/server/ibm/bladecenter/snmp/mode/components/powermodule.pm | Perl | apache-2.0 | 3,196 |
package Manoc::View::Javascript;
use Moose;
use namespace::autoclean;
extends 'Catalyst::View::JavaScript';
__PACKAGE__->config(
output => 1
);
=head1 NAME
Manoc::View::Javascript - Catalyst View
=head1 DESCRIPTION
Catalyst View.
=encoding utf8
=head1 AUTHOR
Gabriele
=head1 LICENSE
This library is free... | gmambro/nocview-poc | lib/Manoc/View/Javascript.pm | Perl | apache-2.0 | 484 |
#
# Copyright 2018 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... | wilfriedcomte/centreon-plugins | hardware/server/cisco/ucs/mode/components/iocard.pm | Perl | apache-2.0 | 4,287 |
#!/usr/bin/perl
print "This is for test!\n";
| chengxiyinian/github_test | test.pl | Perl | apache-2.0 | 45 |
#
# Copyright 2018 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... | wilfriedcomte/centreon-plugins | network/hp/procurve/snmp/mode/components/fan.pm | Perl | apache-2.0 | 2,796 |
#!/usr/bin/perl
use warnings;
require BankAccount;
require Exporter;
our @ISA = qw/Exporter/;
our @Exporter = qw/BankAccount/;
package Bank;
#constructor takes two arguments, bank name and nextAccountNo.
sub new {
my $class = shift;
my $self = {
name => shift,
accountB... | DataMonster/Perl | exer/banksample/Bank.pm | Perl | apache-2.0 | 2,245 |
=head1 LICENSE
See the NOTICE file distributed with this work for additional information
regarding copyright ownership.
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/l... | Ensembl/ensembl-compara | modules/Bio/EnsEMBL/Compara/PipeConfig/CreateHmmProfiles_conf.pm | Perl | apache-2.0 | 77,199 |
package VMOMI::VirtualHdAudioCard;
use parent 'VMOMI::VirtualSoundCard';
use strict;
use warnings;
our @class_ancestors = (
'VirtualSoundCard',
'VirtualDevice',
'DynamicData',
);
our @class_members = ( );
sub get_class_ancestors {
return @class_ancestors;
}
sub get_class_members {
my $class = ... | stumpr/p5-vmomi | lib/VMOMI/VirtualHdAudioCard.pm | Perl | apache-2.0 | 438 |
#
# 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/selenium/plugin.pm | Perl | apache-2.0 | 1,258 |
# Copyright (c) 2014 Timm Murray
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright notice,
# this list of conditio... | gitpan/Device-WebIO | lib/Device/WebIO/Device/VideoOutputCallback.pm | Perl | bsd-2-clause | 3,564 |
#!/usr/bin/perl
use strict;
use FindBin;
use lib "$FindBin::Bin/../lib";
use lib "$FindBin::Bin/../lib/Grids/VM/Memory/lib";
use lib "$FindBin::Bin/../lib/Grids/VM/Memory/blib/arch/auto/Grids/VM/Memory";
use lib "$FindBin::Bin/../lib/Grids/VM/Register/lib";
use lib "$FindBin::Bin/../lib/Grids/VM/Register/blib/arch/au... | revmischa/grids | tools/gridsvm.pl | Perl | bsd-3-clause | 4,097 |
package MyElements::getCommonNamesFromTSN;
use strict;
use warnings;
{ # BLOCK to scope variables
sub get_xmlns { 'http://itis_service.itis.usgs.org' }
__PACKAGE__->__set_name('getCommonNamesFromTSN');
__PACKAGE__->__set_nillable();
__PACKAGE__->__set_minOccurs();
__PACKAGE__->__set_maxOccurs();
__PACKAGE__->__set_... | phylotastic-legacy/TNRastic | tnrs_handler/bin/tnrs_adapter/itis/SOAPInterface/MyElements/getCommonNamesFromTSN.pm | Perl | bsd-3-clause | 1,632 |
#!/usr/bin/perl -w
#
# $Id: phyopt.pl 270 2008-02-23 03:48:41Z lapp $
#
# Copyright 2007-2008 James Estill
#
# This file is part of BioSQL.
#
# BioSQL is free software: you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as
# published by the Free Software Foundation,... | sauloal/projects | taxonomy/biosql/biosql-schema/scripts/phyopt.pl | Perl | mit | 24,235 |
package Agua::Common::Database;
use Moose::Role;
=head2
PACKAGE Agua::Common::Util
PURPOSE
UTILITY METHODS FOR Agua::Common
=cut
#### USE LIB FOR INHERITANCE
use FindBin qw($Bin);
use lib "$Bin/../../";
use Term::ReadKey;
use Agua::DBaseFactory;
use Data::Dumper;
has 'database' => ( isa => 'Str|Undef', ... | agua/agua | lib/Agua/Common/Database.pm | Perl | mit | 10,341 |
#!/usr/bin/env perl
#
#-------------------------------------------------------------------------------
# Copyright (c) 2014-2019 René Just, Darioush Jalali, and Defects4J contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files ... | rjust/defects4j | framework/util/create_mml.pl | Perl | mit | 3,284 |
# The Computer Language Benchmarks Game
# http://shootout.alioth.debian.org/
# contributed by Marc Lehmann
use strict;
use Coro;
use Coro::Semaphore;
my $threads = 503;
my $result;
my @data = $ARGV[0];
my @mutex;
sub thr_func {
my ($id, $next) = @_;
my $next = ($id + 1) % $threads;
while () {
$... | chrislo/sourceclassifier | sources/perl/threadring.perl-2.perl | Perl | mit | 644 |
package Google::Ads::AdWords::v201406::CustomerSyncService::CustomerSyncServiceInterfacePort;
use strict;
use warnings;
use Class::Std::Fast::Storable;
use Scalar::Util qw(blessed);
use base qw(SOAP::WSDL::Client::Base);
# only load if it hasn't been loaded before
require Google::Ads::AdWords::v201406::TypeMaps::Custo... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201406/CustomerSyncService/CustomerSyncServiceInterfacePort.pm | Perl | apache-2.0 | 4,092 |
=head1 NAME
OpenResty::Spec::Install - Installation instructions for OpenResty servers
=head1 DESCRIPTION
This is a basic guideline for settting up an OpenResty server on your own machine. Someone has succeeded in setting up one on Windows XP using ActivePerl 5.8.8. The normal development environment is Linux though... | beni55/old-openresty | lib/OpenResty/Spec/Install.pod | Perl | bsd-3-clause | 5,444 |
package Bio::KBase::fbaModelServices::Server;
use Data::Dumper;
use Moose;
use JSON;
use Bio::KBase::Log;
use Bio::KBase::AuthToken;
extends 'RPC::Any::Server::JSONRPC::PSGI';
has 'instance_dispatch' => (is => 'ro', isa => 'HashRef');
has 'user_auth' => (is => 'ro', isa => 'UserAuth');
has 'valid_methods' => (is => ... | scanon/KBaseFBAModeling | lib/Bio/KBase/fbaModelServices/Server.pm | Perl | mit | 20,880 |
###########################################################################
#
# 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... | liuyangning/WX_web | xampp/perl/vendor/lib/DateTime/Locale/fr.pm | Perl | mit | 18,100 |
package Net::HTTP;
use strict;
use vars qw($VERSION @ISA);
$VERSION = "5.812";
eval { require IO::Socket::INET } || require IO::Socket;
require Net::HTTP::Methods;
require Carp;
@ISA=qw(IO::Socket::INET Net::HTTP::Methods);
sub new {
my $class = shift;
Carp::croak("No Host option provided") unless @_;
$... | leighpauls/k2cro4 | third_party/cygwin/lib/perl5/vendor_perl/5.10/Net/HTTP.pm | Perl | bsd-3-clause | 9,125 |
/* Part of Extended Tools for SWI-Prolog
Author: Edison Mera Menendez
E-mail: efmera@gmail.com
WWW: https://github.com/edisonm/xtools
Copyright (C): 2015, Process Design Center, Breda, The Netherlands.
All rights reserved.
Redistribution and use in source and binary fo... | TeamSPoon/logicmoo_workspace | packs_lib/xtools/prolog/checkers/check_assertions.pl | Perl | mit | 12,272 |
##############################################################################
# Copyright © 2009 Six Apart Ltd.
# This program is free software: you can redistribute it and/or modify it
# under the terms of version 2 of the GNU General Public License as published
# by the Free Software Foundation, or (at your option) ... | movabletype/mt-plugin-email-retitler | plugins/EmailRetitler/lib/EmailRetitler.pm | Perl | mit | 1,036 |
#±Ìt@CÍs-jisÅ·B
$text="";
while(<STDIN>){
my($input)=$_;
$input=~ s/[\n\r]//g;
$input=~ s/\s//g;
$input=~ s/@//g;
$text.=$input;
}
if($text=~ /\#OCTAVEREVERSE/i){
$text=~ tr/\<\>/\>\</;
$text=~ s/\#OCTAVEREVERSE//gi;
}
while($text=~ /\$([^\;\=\$]+)\=([^\;\=\$]+)\;/){
my($vkey,$vword)=($1,$2);
$t... | kurema/PerlJunks | mml2number/preprocess.pl | Perl | mit | 1,206 |
#
# Threaded worker & proto
# - code sample -
# Dmitry Sergeev 2014
#
package MyWorker;
use strict;
use threads ('yield', 'exit' => 'threads_only');
use MyDefaults;
use MyRunnableFunction;
use JSON;
use Exporter;
use vars qw[@ISA @EXPORT];
@ISA = qw[Exporter];
@EXPORT = qw[
processRequest
killAllTasks
];
... | nexusproject/p5-example-server | lib/MyWorker.pm | Perl | mit | 4,712 |
# See bottom of file for license and copyright information
package VisDoc::Logger;
use strict;
use warnings;
our $writeDir;
our $logText = '';
our $logStdOut = 0;
sub clear {
$logText = '';
}
sub setLogStdOut {
my ($state) = @_;
$logStdOut = $state;
}
sub printOutput {
my ($message) = @_;
... | ArthurClemens/VisDoc | code/perl/lib/VisDoc/Logger.pm | Perl | mit | 2,126 |
package #
Date::Manip::Offset::off072;
# Copyright (c) 2008-2015 Sullivan Beck. All rights reserved.
# This program is free software; you can redistribute it and/or modify it
# under the same terms as Perl itself.
# This file was automatically generated. Any changes to this file will
# be lost the next time 'tzdata'... | jkb78/extrajnm | local/lib/perl5/Date/Manip/Offset/off072.pm | Perl | mit | 851 |
use strict;
use warnings;
if (@ARGV != 1 && @ARGV != 1) {
print "Usage: set_out_bw.pl [bw]\n";
print "Example: set_out_bw.pl 10mbit\n";
print "Usage: set_out_bw.pl clean\n";
die;
}
if (@ARGV == 1 && $ARGV[0] eq "clean") {
system("tc qdisc del dev eth0 root");
... | mixianghang/newhttp2 | examples/set_bw_limit.pl | Perl | mit | 1,175 |
package #
Date::Manip::TZ::assred00;
# Copyright (c) 2008-2015 Sullivan Beck. All rights reserved.
# This program is free software; you can redistribute it and/or modify it
# under the same terms as Perl itself.
# This file was automatically generated. Any changes to this file will
# be lost the next time 'tzdata' i... | jkb78/extrajnm | local/lib/perl5/Date/Manip/TZ/assred00.pm | Perl | mit | 16,262 |
#!/usr/bin/perl
# Api for querying goals
# INPUT parameters:
# num - limits the number of results. Default 1000
# startTime - The beginning of the timerange. Defaults to one day
# endTime - The end of the time range. Defaults to current date.
# [onlyTopGoals] - Optional argument for getting only top goals. Default fa... | siramatu/goalshare | Site/cgi-bin/query_goals.pl | Perl | mit | 5,825 |
package #
Date::Manip::Offset::off298;
# Copyright (c) 2008-2015 Sullivan Beck. All rights reserved.
# This program is free software; you can redistribute it and/or modify it
# under the same terms as Perl itself.
# This file was automatically generated. Any changes to this file will
# be lost the next time 'tzdata'... | jkb78/extrajnm | local/lib/perl5/Date/Manip/Offset/off298.pm | Perl | mit | 864 |
#!/usr/bin/perl
require 'quickies.pl'
($User,$Planet,$AuthCode,$Alliance)=split(/&/,$ENV{QUERY_STRING});
$user_information = $MasterPath . "/User Information";
dbmopen(%authCode, "$user_information/accesscode", 0777);
if(($AuthCode ne $authCode{$User}) || ($AuthCode eq "")){
print "<SCRIPT>alert(\"Security Failure. ... | cpraught/shattered-empires | AllySet.pl | Perl | mit | 13,682 |
=head1 LICENSE
Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Copyright [2016-2020] 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... | james-monkeyshines/ensembl | modules/Bio/EnsEMBL/Utils/Converter/bio_ens_transcript.pm | Perl | apache-2.0 | 2,341 |
#
# 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 | network/alcatel/omniswitch/snmp/mode/components/module.pm | Perl | apache-2.0 | 4,017 |
#
# 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 | network/juniper/common/screenos/mode/cpu.pm | Perl | apache-2.0 | 6,429 |
=head1 LICENSE
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://www.apache.org/licen... | willmclaren/ensembl | misc-scripts/xref_mapping/XrefParser/UniProtParser_descriptions_only.pm | Perl | apache-2.0 | 8,826 |
#
# 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 | network/extreme/snmp/mode/components/fan.pm | Perl | apache-2.0 | 3,874 |
# 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/V9/Enums/PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.pm | Perl | apache-2.0 | 1,023 |
package Google::Ads::AdWords::v201809::QueryError;
use strict;
use warnings;
__PACKAGE__->_set_element_form_qualified(1);
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201809' };
our $XML_ATTRIBUTE_CLASS;
undef $XML_ATTRIBUTE_CLASS;
sub __get_attr_class {
return $XML_ATTRIBUTE_CLASS;
}
use base... | googleads/googleads-perl-lib | lib/Google/Ads/AdWords/v201809/QueryError.pm | Perl | apache-2.0 | 2,732 |
#
# 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/exchange/2010/local/plugin.pm | Perl | apache-2.0 | 2,297 |
#
# 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 | storage/emc/symmetrix/vmax/local/mode/components/power.pm | Perl | apache-2.0 | 4,889 |
package API::Region;
#
#
# 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, softwa... | knutsel/traffic_control-1 | traffic_ops/app/lib/API/Region.pm | Perl | apache-2.0 | 6,767 |
#
# Copyright 1999-2002,2004 The Apache Software Foundation.
#
# 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 require... | rherardi/xerces-c-src_2_7_0 | scripts/makeStringDefinition.pl | Perl | apache-2.0 | 2,495 |
=head1 LICENSE
Copyright [1999-2013] 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://www.apache.org/licen... | Ensembl/ensembl-draw | modules/Bio/EnsEMBL/GlyphSet/preliminary.pm | Perl | apache-2.0 | 1,451 |
=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 | modules/Bio/EnsEMBL/DataFile.pm | Perl | apache-2.0 | 8,758 |
###########################################$
# Copyright 2008-2010 Amazon.com, Inc. or its affiliates. All Rights Reserved.
# Licensed under the Apache License, Version 2.0 (the "License"). You may not
# use this file except in compliance with the License.
# A copy of the License is located at
#
# http://aws.a... | electric-cloud/EC-EC2 | src/main/resources/project/lib/Amazon/EC2/Model/ResetSnapshotAttributeRequest.pm | Perl | apache-2.0 | 2,496 |
#!/usr/bin/perl
# Mingyu @ Aug 29 2011
# User Dependent case
# Train with random 5 trials of a SINGLE right-handed user and test with the rest 5 trials
# Should use the exp1.pl to call exp1_single.pl
use File::Path qw(make_path remove_tree);
use File::stat;
if ($#ARGV !=3)
{
print "usage: exp1_single [user] [datat... | mingyu623/6DMG | 6DMG_htk/gestures/exp1_single.pl | Perl | bsd-2-clause | 6,322 |
#!/usr/bin/perl
use strict;
use Getopt::Std;
use Cwd;
sub printOptions
{
print("Usage :: perl predictCommonStart.pl\n");
print("-d Working directory. <REQUIRED> \n");
print("-v Logging level. 1 is ERROR, 2 is WARNING, 3 is INFO. Default is 1.\n");
print("-l Log file with complete path. Default - Log messages ... | mewall/gmv | code/scripts/predictCommonStart.pl | Perl | bsd-3-clause | 3,317 |
=pod
=head1 NAME
SSL_group_to_name - get name of group
=head1 SYNOPSIS
#include <openssl/ssl.h>
const char *SSL_group_to_name(const SSL *ssl, int id);
=head1 DESCRIPTION
SSL_group_to_name() is used to retrieve the TLS group name
associated with a given TLS group ID, as registered via built-in
or external provi... | jens-maus/amissl | openssl/doc/man3/SSL_group_to_name.pod | Perl | bsd-3-clause | 1,133 |
#!perl
use Test::More;
use strict;
use warnings;
our $es;
my $r;
# SORT
is $es->search(
query => { match_all => {} },
sort => ['num'],
)->{hits}{hits}[0]{_source}{num}, 2,
"Query with sort";
is $es->search(
query => { match_all => {} },
sort => [ { num => { reverse => \1 } } ],
)->{hits}... | gitpan/Search-Elasticsearch-Compat | t/request_tests/search_sort.pl | Perl | apache-2.0 | 662 |
#!/usr/bin/perl
#
# Created: Thu Aug 15 11:57:33 1996 too
# Last modified: Mon Dec 27 09:23:56 1999 too
#
# Copyright (c) 1996-1999 Tomi Ollila. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# ... | bkuebler/openshift-apache-http-cartridge | src/httpd-2.4.6/build/mkdep.perl | Perl | apache-2.0 | 2,277 |
# This file was created by configpm when Perl was built. Any changes
# made to this file will be lost the next time perl is built.
# for a description of the variables, please have a look at the
# Glossary file, as written in the Porting folder, or use the url:
# http://perl5.git.perl.org/perl.git/blob/HEAD:/Port... | leighpauls/k2cro4 | third_party/perl/perl/lib/Config.pm | Perl | bsd-3-clause | 3,312 |
# 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/australasia. Olson data version 2012c
#
# Do not edit this file directly.
#
package DateTime... | leighpauls/k2cro4 | third_party/perl/perl/vendor/lib/DateTime/TimeZone/Pacific/Auckland.pm | Perl | bsd-3-clause | 12,929 |
#!/usr/local/bin/perl
#
# TI_CGTOOLS.pl, Texas Instruments CGTOOLS under Unix or MSYS.
#
$ssl= "ssl";
$crypto="crypto";
if ($fips && !$shlib)
{
$crypto="fips";
$crypto_compat = "cryptocompat.lib";
}
else
{
$crypto="crypto";
}
if ($fipscanisterbuild)
{
$fips_canister_path = "\$(LIB_D)/fipscanister.obj";
}
... | GaloisInc/hacrypto | src/C/openssl/openssl-fips-ecp-2.0.9/util/pl/TI_CGTOOLS.pl | Perl | bsd-3-clause | 6,351 |
package ExtUtils::MM_NW5;
=head1 NAME
ExtUtils::MM_NW5 - methods to override UN*X behaviour in ExtUtils::MakeMaker
=head1 SYNOPSIS
use ExtUtils::MM_NW5; # Done internally by ExtUtils::MakeMaker if needed
=head1 DESCRIPTION
See ExtUtils::MM_Unix for a documentation of the methods provided
there. This package over... | leighpauls/k2cro4 | third_party/perl/perl/lib/ExtUtils/MM_NW5.pm | Perl | bsd-3-clause | 6,565 |
=head1 This Week on perl5-porters (24-30 March 2003)
This week was a rather interesting week among the Perl 5 porters. Read
about pattern matching extensions, CPAN distribution issues, and various
bugs and problems.
=head2 New regexp flag proposed
Yitzchak Scott-Thoennes proposed a new flag, C</w>, to modify the ret... | autarch/perlweb | docs/dev/perl5/list-summaries/2003/p5p-200303-3.pod | Perl | apache-2.0 | 4,786 |
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
# This file is built by mktables from e.g. UnicodeData.txt.
# Any changes made here will be lost!
#
# Binary property 'Diacritic'
#
return <<'END';
005E Diacritic
0060 Diacritic
00A8 Diacritic
00AF Diacritic
00B4 Diacritic
00B7 00B8 Diacritic
02B0 034E Diacritic
0350 0... | leighpauls/k2cro4 | third_party/cygwin/lib/perl5/5.10/unicore/lib/gc_sc/Dia.pl | Perl | bsd-3-clause | 2,048 |
package DDG::Spice::YachtSpecs;
# ABSTRACT: Returns information of Yacht
use DDG::Spice;
spice is_cached => 1;
#General attributes for meta data
name "YachtSpecs";
source "http://yachtharbour.com";
icon_url "http://yachtharbour.com/favicon.ico";
description "Gives out yacht specifications and photo";
primary_exam... | ppant/zeroclickinfo-spice | lib/DDG/Spice/YachtSpecs.pm | Perl | apache-2.0 | 1,087 |
package NoteJam;
use Moose;
use namespace::autoclean;
use Catalyst::Runtime 5.90080;
use Catalyst qw/
ConfigLoader
Static::Simple
Authentication
Session
Session::Store::File
Session::State::Cookie
SmartURI
StatusMessage
/;
extends 'Catalyst';
our $VERSION = '0.01';
__PACKAGE__->confi... | hstaugaard/notejam | catalyst/lib/NoteJam.pm | Perl | mit | 1,070 |
#!/usr/bin/perl
use strict;
use warnings;
use CXGN::Chado::Cvterm;
use CXGN::Scrap::AjaxPage;
use XML::Twig;
my $doc = CXGN::Scrap::AjaxPage->new();
$doc->send_http_header();
print $doc->header();
my ( $cv_accession, $action, $indent ) = $doc->get_encoded_arguments("cv_accession", "action", "indent");
my $dbh = CX... | solgenomics/sgn | cgi-bin/chado/ontology_browser_ajax.pl | Perl | mit | 7,338 |
# -*- perl -*-
# !!! DO NOT EDIT !!!
# This file was automatically generated.
package Net::Amazon::Validate::ItemSearch::us::Title;
use 5.006;
use strict;
use warnings;
sub new {
my ($class , %options) = @_;
my $self = {
'_default' => 'Books',
%options,
};
push @{$self->{_options}}, '... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/Net/Amazon/Validate/ItemSearch/us/Title.pm | Perl | mit | 3,119 |
package Class::DBI::SQL::Transformer;
use strict;
use warnings;
=head1 NAME
Class::DBI::SQL::Transformer - Transform SQL
=head1 SYNOPSIS
my $trans = $tclass->new($self, $sql, @args);
return $self->SUPER::transform_sql($trans->sql => $trans->args);
=head1 DESCRIPTION
Class::DBI hooks into the transform_sql() ... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/Class/DBI/SQL/Transformer.pm | Perl | mit | 3,137 |
# Time-stamp: "Sat Jul 14 00:27:39 2001 by Automatic Bizooty (__blocks2pm.plx)"
$Text::\SEPA\Unicode\Unidecode::Char[0xba] = [
'mya', 'myag', 'myagg', 'myags', 'myan', 'myanj', 'myanh', 'myad', 'myal', 'myalg', 'myalm', 'myalb', 'myals', 'myalt', 'myalp', 'myalh',
'myam', 'myab', 'myabs', 'myas', 'myass', 'myang', 'mya... | dmitrirussu/php-sepa-xml-generator | src/Unicode/data/perl_source/xba.pm | Perl | mit | 2,327 |
#!/usr/bin/env perl
use strict;
use warnings;
use Data::Printer;
use WebService::Zulip;
my $zulip = WebService::Zulip->new(load_zulip_info());
my $result = $zulip->send_message(
content => 'hi stan from the zulip api',
to => 'stan@schwertly.com',
type => 'private'
);
p $result;
sub load_zulip_info {
my... | Stantheman/WebService-Zulip | examples/send_message.pl | Perl | mit | 481 |
#
# Some more random examples of
# subroutines, using different features.
#
use strict;
#
# Some folks like to use shift to get the parmeters.
sub sent
{
my $subj = shift @_;
my $verb = shift @_;
my $adj = shift @_;
my $obj = shift @_;
print uc(substr($subj,0,1)), substr($subj,1), " $verb the $a... | Mitali-Sodhi/CodeLingo | Dataset/perl/subs2.pl | Perl | mit | 887 |
package EnsEMBL::Web::UserConfig::chromosome;
use strict;
use EnsEMBL::Web::UserConfig;
use vars qw(@ISA);
@ISA = qw(EnsEMBL::Web::UserConfig);
sub init {
my ($self) = @_;
$self->{'_userdatatype_ID'} = 6;
$self->{'no_image_frame'} = 1;
$self->{'general'}->{'chromosome'} = {
'_artefacts' => [qw(ideogram a... | warelab/gramene-ensembl | maize/modules/EnsEMBL/Web/UserConfig/chromosome.pm | Perl | mit | 1,338 |
package File::Dir::Dumper::Stream::JSON::Reader;
use warnings;
use strict;
use 5.012;
use parent 'File::Dir::Dumper::Base';
use Carp;
use JSON::MaybeXS qw(decode_json);
__PACKAGE__->mk_accessors(qw(_in));
=head1 NAME
File::Dir::Dumper::Stream::JSON::Reader - reader for stream of JSON objects.
=head1 VERSION
V... | gitpan/File-Dir-Dumper | lib/File/Dir/Dumper/Stream/JSON/Reader.pm | Perl | mit | 2,876 |
#!/usr/bin/perl
$| = 1;
use XML::Simple;
use Data::Dumper;
use LWP::UserAgent;
# Content API key provided by The Associated Press
my $apiKey = "Your AP Content API key goes here";
# Search terms passed in on the command line as a parameter to the script
my $searchTerms = $ARGV[0];
$searchTerms =~ s/ /\%20/... | TheAssociatedPress/APISamples | APContentAPI/perl/APContentAPI.pl | Perl | mit | 2,806 |
=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/SourceAdaptor.pm | Perl | apache-2.0 | 6,920 |
package Paws::ElasticTranscoder::Thumbnails;
use Moose;
has AspectRatio => (is => 'ro', isa => 'Str');
has Format => (is => 'ro', isa => 'Str');
has Interval => (is => 'ro', isa => 'Str');
has MaxHeight => (is => 'ro', isa => 'Str');
has MaxWidth => (is => 'ro', isa => 'Str');
has PaddingPolicy => (is => ... | ioanrogers/aws-sdk-perl | auto-lib/Paws/ElasticTranscoder/Thumbnails.pm | Perl | apache-2.0 | 5,423 |
=head1 LICENSE
Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Copyright [2016-2020] 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... | james-monkeyshines/ensembl | modules/Bio/EnsEMBL/RNAProduct.pm | Perl | apache-2.0 | 27,364 |
package TinCan::Extensions;
use Moo;
use namespace::clean;
use TinCan::Map;
our $VERSION = '0.01';
extends 'TinCan::Map';
1;
__END__
=head1 NAME
TinCan::Extensions - Extensions model
=head1 SYNOPSIS
use TinCan::Extensions;
my $extensions = TinCan::Extensions->new(
'http://.....' => 'some valu... | RusticiSoftware/TinCanPerl | lib/TinCan/Extensions.pm | Perl | apache-2.0 | 936 |
#
# 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/windows/snmp/mode/service.pm | Perl | apache-2.0 | 7,143 |
#
# 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 | network/stonesoft/snmp/plugin.pm | Perl | apache-2.0 | 2,150 |
=head1 LICENSE
See the NOTICE file distributed with this work for additional information
regarding copyright ownership.
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/l... | Ensembl/ensembl-compara | modules/Bio/EnsEMBL/Compara/DBSQL/XrefAssociationAdaptor.pm | Perl | apache-2.0 | 9,364 |
=head1 LICENSE
See the NOTICE file distributed with this work for additional information
regarding copyright ownership.
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/l... | Ensembl/ensembl-compara | modules/Bio/EnsEMBL/Compara/PipeConfig/Pan/DumpAllForRelease_conf.pm | Perl | apache-2.0 | 1,972 |
=head1 LICENSE
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://www.apache.org/licen... | andrewyatz/public-plugins | admin/modules/EnsEMBL/Admin/Component/Healthcheck/Details.pm | Perl | apache-2.0 | 8,431 |
#!/usr/bin/env perl
#render the Structure page(tab) in Unison
###########################################################
use strict;
use warnings;
use FindBin;
use lib "$FindBin::RealBin/../perl5", "$FindBin::RealBin/../perl5-ext";
use CGI( -debug );
use CGI::Carp qw(fatalsToBrowser);
use IO::String;
use Unison::W... | unison/unison | www/emb_pseq_structure.pl | Perl | apache-2.0 | 5,990 |
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use ... | gitpan/Clownfish-CFC | lib/Clownfish/CFC/Model/Class.pm | Perl | apache-2.0 | 898 |
% ----------------------------------------------------------------------
%
% Linda communication for Distributed CIAO, for SICStus 2.1
% Based on library file linda/client.pl of SICStus 2.1
% (C) UPM-CLIP 1995
%
% ----------------------------------------------------------------------
%% :- module(linda,[
%% linda_c... | leuschel/ecce | www/CiaoDE/ciao/library.development/blackboard/bb_client.pl | Perl | apache-2.0 | 6,029 |
#!/usr/bin/env perl
package Interhack::Plugin::InGame::TriggerReload;
use Calf::Role 'reload';
our $VERSION = '1.99_01';
# deps {{{
sub depend { 'Util' }
# }}}
# attributes {{{
# }}}
# method modifiers {{{
sub BUILD
{
my $self = shift;
$self->extended_command(reload => \&reload);
}
# }}}
# methods {{{
sub rel... | TAEB/Interhack2 | lib/Interhack/Plugin/InGame/TriggerReload.pm | Perl | bsd-3-clause | 434 |
prime_factors(N, Ans) :-
prime_factors(N, [], 2, Ans).
prime_factors(1, Acc, _, Ans) :-
reverse(Acc, Ans), !.
prime_factors(N, Acc, F, Ans) :-
Mod is N mod F, Mod = 0, N1 is N div F, !,
prime_factors(N1, [F|Acc], F, Ans).
prime_factors(N, Acc, F, Ans) :-
F1 is F + 1,
prime_factors(N, Acc, F1, ... | m00nlight/99-problems | prolog/p-35.pl | Perl | bsd-3-clause | 326 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.