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 |
|---|---|---|---|---|---|
#!/usr/bin/perl
# prepare Thai cardinal words
# @(#) $Id: prepThai.pl 113 2009-04-06 14:57:07Z gfis $
# 2009-04-06: Dr. Georg Fischer
#-------------------------------------------------------
#
# Copyright 2006 Dr. Georg Fischer <punctum at punctum dot kom>
#
# Licensed under the Apache License, Version 2.0 (the... | gfis/numword | etc/prepThai.pl | Perl | apache-2.0 | 4,472 |
=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/public-plugins | tools/modules/EnsEMBL/Web/Component/Tools/Blast/GenomicSeq.pm | Perl | apache-2.0 | 2,866 |
#! /usr/bin/env perl
# Copyright 2006-2018 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... | google/google-ctf | third_party/edk2/CryptoPkg/Library/OpensslLib/openssl/crypto/bn/asm/via-mont.pl | Perl | apache-2.0 | 9,305 |
#!/usr/bin/perl -w
use strict;
my @inputs = ();
while (<>) {
if (/^\s+(\S+.*)$/) {
chomp $inputs[-1];
$inputs[-1] .= " $1\n";
next;
}
push @inputs, $_;
}
my $last_tok = "";
foreach (@inputs) {
my $line = $_;
my $line_bak = "";
while ($line ne $line_bak) {
$line_bak = $line;
$line =~... | tautschnig/fshell | config/y2l-postproc.pl | Perl | apache-2.0 | 733 |
#
# 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/dell/me4/restapi/plugin.pm | Perl | apache-2.0 | 1,784 |
=head1 NAME
Search::Kino03::KinoSearch::Docs::Tutorial - Step-by-step introduction to KinoSearch toolset.
=head1 ABSTRACT
Explore KinoSearch's basic functionality by starting with a minimalist CGI
search app based on L<Search::Kino03::KSx::Simple> and transforming it, step by step, into an
"advanced search" interfa... | robertkrimen/Search-Kino03 | lib/Search/Kino03/KinoSearch/Docs/Tutorial.pod | Perl | apache-2.0 | 2,404 |
package Paws::SQS::ListQueuesResult;
use Moose;
has QueueUrls => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'QueueUrl', traits => ['NameInRequest',]);
has _request_id => (is => 'ro', isa => 'Str');
1;
### main pod documentation begin ###
=head1 NAME
Paws::SQS::ListQueuesResult
=head1 ATTRIBU... | ioanrogers/aws-sdk-perl | auto-lib/Paws/SQS/ListQueuesResult.pm | Perl | apache-2.0 | 446 |
# Copyright 2016, Mitchell Cooper
package F::PropertyOwner;
use warnings;
use strict;
use parent 'F::Element';
# PropertyOwners are nodes that can be traced back to a property on an object.
# They must be able to provide code to access this object as well as either
# a string property name or some code which evaluate... | cooper/ferret | lib/F/PropertyOwner.pm | Perl | bsd-3-clause | 547 |
######################################################################
# Copyright (c) 2012, Yahoo! Inc. All rights reserved.
#
# This program is free software. You may copy or redistribute it under
# the same terms as Perl itself. Please see the LICENSE.Artistic file
# included with this project for the terms of the ... | eam/ysysbuilder | steps/std-rhel/010_fix_clock.pl | Perl | bsd-3-clause | 1,290 |
#ExStart:1
use lib 'lib';
use strict;
use warnings;
use utf8;
use File::Slurp; # From CPAN
use JSON;
use AsposeStorageCloud::StorageApi;
use AsposeStorageCloud::ApiClient;
use AsposeStorageCloud::Configuration;
use AsposeCellsCloud::CellsApi;
use AsposeCellsCloud::ApiClient;
use AsposeCellsCloud::Configuration;
my $c... | aspose-cells/Aspose.Cells-for-Cloud | Examples/Perl/Worksheet/RemoveWorksheet.pl | Perl | mit | 1,688 |
package VMOMI::GuestAuthManager;
use parent 'VMOMI::ManagedObject';
use strict;
use warnings;
our @class_ancestors = (
'ManagedObject',
);
our @class_members = ( );
sub get_class_ancestors {
return @class_ancestors;
}
sub get_class_members {
my $class = shift;
my @super_members = $class->SUPER::get... | stumpr/p5-vmomi | lib/VMOMI/GuestAuthManager.pm | Perl | apache-2.0 | 389 |
#!/usr/bin/perl
## This program is distributed under the free software
## licensing model. You have a right to use, modify and
## and redistribute this software in any way you like.
## This program is implemented by Anton Valouev, Ph.D.
## as a part of QuEST analytical pipeline. If you use
## this software as a par... | verdurin/biobench2 | QuEST/run_report_bad_control_regions_with_param_file.pl | Perl | apache-2.0 | 13,196 |
package VMOMI::HostFirewallSystem;
use parent 'VMOMI::ExtensibleManagedObject';
use strict;
use warnings;
our @class_ancestors = (
'ExtensibleManagedObject',
'ManagedObject',
);
our @class_members = (
['firewallInfo', 'HostFirewallInfo', 0, 0],
);
sub get_class_ancestors {
return @class_ancestors;
}... | stumpr/p5-vmomi | lib/VMOMI/HostFirewallSystem.pm | Perl | apache-2.0 | 479 |
# 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/northamerica. Olson data version 2013a
#
# Do not edit this file directly.
#
package DateTim... | liuyangning/WX_web | xampp/perl/vendor/lib/DateTime/TimeZone/America/Vancouver.pm | Perl | mit | 43,147 |
# $Id: Response.pm 1943 2006-06-25 18:59:50Z btrott $
package URI::Fetch::Response;
use strict;
sub new {
my $class = shift;
my $feed = bless { }, $class;
$feed;
}
sub _var {
my $feed = shift;
my $var = shift;
$feed->{$var} = shift if @_;
$feed->{$var};
}
sub status { shift->_var(... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/URI/Fetch/Response.pm | Perl | mit | 2,665 |
#------------------------------------------------------------------------------
# File: BigTIFF.pm
#
# Description: Read Big TIFF meta information
#
# Revisions: 07/03/2007 - P. Harvey Created
#
# References: 1) http://www.awaresystems.be/imaging/tiff/bigtiff.html
#----------------------------------------... | mudasobwa/exifice | vendor/Image-ExifTool-10.02/lib/Image/ExifTool/BigTIFF.pm | Perl | mit | 10,870 |
use strict;
use warnings;
# this is for people who don't want Test::Builder to be loaded but want to
# use eq_deeply. It's a bit hacky...
package Test::Deep::NoTest;
our $NoTest;
{
local $NoTest = 1;
require Test::Deep;
}
sub import {
my $import = Test::Deep->can("import");
# make the stack look like it sh... | Dokaponteam/ITF_Project | xampp/perl/vendor/lib/Test/Deep/NoTest.pm | Perl | mit | 765 |
package MT::Plugin::SingleLogin;
use strict;
use warnings;
use base qw( MT::Plugin );
my $plugin = __PACKAGE__->new(
{ name => 'SingleLogin',
version => '0.01',
author_name => 'masiuchi',
author_link => 'https://github.com/masiuchi',
plugin_link => 'https://github.com/m... | masiuchi/mt-plugin-single-login | plugins/SingleLogin/SingleLogin.pl | Perl | mit | 947 |
package MIP::Recipes::Analysis::Preseq;
use 5.026;
use Carp;
use charnames qw{ :full :short };
use English qw{ -no_match_vars };
use File::Spec::Functions qw{ catdir catfile };
use open qw{ :encoding(UTF-8) :std };
use Params::Check qw{ allow check last_error };
use utf8;
use warnings;
use warnings qw{ FATAL utf8 };
... | henrikstranneheim/MIP | lib/MIP/Recipes/Analysis/Preseq.pm | Perl | mit | 7,863 |
#!/usr/bin/env perl
use strict;
use warnings;
use Getopt::Long;
use Data::Dumper;
use File::Basename qw/basename/;
exit(main());
sub main{
my $settings={};
GetOptions($settings,qw(help));
die usage() if($$settings{help});
# read the file
my $header = <STDIN>;
if(!$header){
print STDERR "$0: ERROR: n... | lskatz/lyve-SET | scripts/2dToPairwise.pl | Perl | mit | 1,225 |
#! /usr/bin/perl
#program converts vcf file to fastPHASE input format
#September 13th, 2012
$vcf = $ARGV[0];
$output = $ARGV[1];
$output2 = $ARGV[2];
$sample_size = $ARGV[3];
unless ($#ARGV==3) {
print STDERR "Please provide the name of your input vcf file. Additionally, provide a filename for the two outputs - ... | lstevison/vcf-conversion-tools | vcf2fastPHASE.pl | Perl | mit | 2,925 |
:- dynamic shots/4.
shots(JOUEURTEST, 0,0,0).
shots(1, 1,1,0).
shots(1, 4,1,0).
shots(1, 7,1,0).
shots(1, 8,2,0).
shots(1, 5,2,0).
shots(1, 2,2,0).
shots(1, 10,1,0).
% X _ _ X _ _ X _ _ X
% _ X _ _ X _ _ X _ _
% _ _ X _ _ X _ _ X _
% X _ _ X _ _ X _ _ X
% _ X _ _ X _ _ X _ _
% _ _ X _ _ X _ _ X _
% X _ _ X _ _ ... | H4305/battleship | IA/ia_antho3.pl | Perl | mit | 1,717 |
package Syntax::Highlight::HTML;
use strict;
use HTML::Parser;
{ no strict;
$VERSION = '0.04';
@ISA = qw(HTML::Parser);
}
=head1 NAME
Syntax::Highlight::HTML - Highlight HTML syntax
=head1 VERSION
Version 0.04
=cut
my %classes = (
declaration => 'h-decl', # declaration <!DOCTYPE ...>
process ... | haakonsk/O2-Framework | lib/O2/Util/ExternalModule/lib/Syntax/Highlight/HTML.pm | Perl | mit | 19,002 |
#!/usr/bin/perl
use warnings;
use strict;
use feature 'say';
my $fname = shift;
open my $fh, "<", $fname
or die "Can't open $fname: $!";
my $line = <$fh>;
chomp $line;
my @arr = split //, $line;
my @new;
my $before = @arr;
while (1) {
my ($cur, $next) = (0, 1);
while (1) {
if ($next > $#arr) {
push @... | bewuethr/advent_of_code | 2018/day05/day05a.pl | Perl | mit | 742 |
server('epictetus', 'irc.codetalk.io':6667, ['#lobby']).
| ljos/epictetus | src/epictetus/config.pl | Perl | mit | 57 |
use strict;
use Irssi;
use vars qw($VERSION %IRSSI);
# $Id$
use MIME::Base64;
$VERSION = "1.1";
%IRSSI = (
authors => 'Michael Tharp and Jilles Tjoelker',
contact => 'gxti@partiallystapled.com',
name => 'cap_sasl.pl',
description => 'Implements PLAIN SASL authentication mechanism for u... | allanclloyds/.dotfiles | .irssi/scripts/cap_sasl.pl | Perl | mit | 7,439 |
#!/usr/bin/perl -w
# This file was preprocessed, do not edit!
package Debconf::FrontEnd::Kde::Wizard;
use strict;
use utf8;
use Debconf::Log ':all';
use Qt;
use Qt::isa qw(Debconf::FrontEnd::Kde::WizardUi);
use Qt::slots 'goNext' => [], 'goBack' => [], 'goBye' => [];
use Qt::attributes qw(frontend);
use Debconf::Fron... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/Debconf/FrontEnd/Kde/Wizard.pm | Perl | mit | 1,112 |
# Copyright (c) 2008 ToI-Planning, All rights reserved.
#
# 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,... | usualoma/mt-plugin-TabbedEditPage | plugins/TabbedEditPage/lib/TabbedEditPage.pm | Perl | mit | 1,279 |
eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' && eval 'exec perl -S $0 $argv:q'
if 0;
use strict;
$^W=1; # turn warning on
#
# thumbpdf.pl
#
# Copyright (C) 1999-2005 Heiko Oberdiek.
#
# This work may be distributed and/or modified under the
# conditions of the LaTeX Project Public License, either version 1.3... | carlgao/lenga | images/lenny64-peon/usr/share/texmf-texlive/scripts/thumbpdf/thumbpdf.pl | Perl | mit | 41,678 |
#!/usr/bin/env perl
use local::lib;
use Catalyst::ScriptRunner;
Catalyst::ScriptRunner->run('Maximus', 'Task');
=head1 NAME
maximus_task.pl - Execute a Maximus task
=head1 SYNOPSIS
maximus_task.pl [options]
-t --task Task to execute, e.g. Modules::Update
-q --queue Send task (and sub-task... | maximos/maximus-web | script/maximus_task.pl | Perl | mit | 1,613 |
use c_rt_lib;
use ptd;
use nlasm;
use boolean_t;
use array;
sub register_cleaner::clean_registers;
sub register_cleaner_priv::clean;
sub register_cleaner_priv::clean_f;
sub register_cleaner_priv::recalculate_registers;
sub register_cleaner_priv::recalculate_annotation;
sub register_cleaner_priv::find_unused_regs;
retu... | nianiolang/nl | bin/nianio_lang_pm/register_cleaner.pm | Perl | mit | 51,653 |
# LaTeX2HTML 99.2beta6 (1.42)
# Associate images original text with physical files.
$key = q/^{eme};MSF=1.6;AAT/;
$cached_env_img{$key} = q|<IMG
WIDTH="28" HEIGHT="15" ALIGN="BOTTOM" BORDER="0"
SRC="|."$dir".q|img2.gif"
ALT="$^{eme}$">|;
$key = q/nomath_inline}oenomath_inline};MSF=1.6;AAT/;
$cached_env_img{$key}... | mmusicante/PlacidoConfArtigos | CAISE2011/submitted/Bib/WF/images.pl | Perl | mit | 426 |
#
# 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/sun/mgmt_cards/mode/environmentv4xx.pm | Perl | apache-2.0 | 7,086 |
##**************************************************************
##
## Copyright (C) 1990-2011, Condor Team, Computer Sciences Department,
## University of Wisconsin-Madison, WI.
##
## Licensed under the Apache License, Version 2.0 (the "License"); you
## may not use this file except in compliance with the License. Yo... | bbockelm/htcondor | src/condor_scripts/CondorPersonal.pm | Perl | apache-2.0 | 62,667 |
=head1 LICENSE
Copyright [1999-2015] 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... | at7/ensembl | misc-scripts/xref_mapping/XrefParser/ReactomeParser.pm | Perl | apache-2.0 | 5,418 |
# 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/KeywordPlanService/KeywordPlanCampaignForecast.pm | Perl | apache-2.0 | 1,134 |
use File::Basename;
use lib dirname (__FILE__);
use IOFake;
my $app = sub {
my ($environ) = @_;
my $io = IOFake->new($environ->{'psgi.errors'});
return ['200', [ 'Content-Length' => '2' ], $io];
};
| nginx/unit | test/perl/body_io_fake/psgi.pl | Perl | apache-2.0 | 213 |
package Google::Ads::AdWords::v201402::CampaignFeedService::mutate;
use strict;
use warnings;
{ # BLOCK to scope variables
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201402' }
__PACKAGE__->__set_name('mutate');
__PACKAGE__->__set_nillable();
__PACKAGE__->__set_minOccurs();
__PACKAGE__->__set_maxOcc... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201402/CampaignFeedService/mutate.pm | Perl | apache-2.0 | 2,003 |
#
# 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 | cloud/azure/integration/eventgrid/mode/discovery.pm | Perl | apache-2.0 | 4,091 |
=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/Web/ViewConfig/Healthcheck/Details.pm | Perl | apache-2.0 | 2,986 |
package TargetAdapter::LocalMapping::SimpleTargetAdapter::MixtureSlot;
# TODO : MixtureSlot => mixture of AbstractiveSlot and WordEmbeddingSlot
# => simply create slot that has both slots undernead and combine options
use strict;
use warnings;
use Moose;
use namespace::autoclean;
extends( 'TargetAdapter::LocalMappi... | ypetinot/web-summarization | summarizers/graph-summarizer-4/src/TargetAdapter/LocalMapping/SimpleTargetAdapter/MixtureSlot.pm | Perl | apache-2.0 | 3,517 |
#!/usr/bin/env perl
# Copyright [1999-2015] 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/ensembl-variation | scripts/import/import_variant_submissions.pl | Perl | apache-2.0 | 22,585 |
package VMOMI::ClusterVmToolsMonitoringSettings;
use parent 'VMOMI::DynamicData';
use strict;
use warnings;
our @class_ancestors = (
'DynamicData',
);
our @class_members = (
['enabled', 'boolean', 0, 1],
['vmMonitoring', undef, 0, 1],
['clusterSettings', 'boolean', 0, 1],
['failureInterval', un... | stumpr/p5-vmomi | lib/VMOMI/ClusterVmToolsMonitoringSettings.pm | Perl | apache-2.0 | 657 |
package VMOMI::ArrayOfProfileMetadataProfileSortSpec;
use parent 'VMOMI::ComplexType';
use strict;
use warnings;
our @class_ancestors = ( );
our @class_members = (
['ProfileMetadataProfileSortSpec', 'ProfileMetadataProfileSortSpec', 1, 1],
);
sub get_class_ancestors {
return @class_ancestors;
}
sub get_cl... | stumpr/p5-vmomi | lib/VMOMI/ArrayOfProfileMetadataProfileSortSpec.pm | Perl | apache-2.0 | 468 |
package VMOMI::ProfileParameterMetadata;
use parent 'VMOMI::DynamicData';
use strict;
use warnings;
our @class_ancestors = (
'DynamicData',
);
our @class_members = (
['id', 'ExtendedElementDescription', 0, ],
['type', undef, 0, ],
['optional', 'boolean', 0, ],
['defaultValue', 'anyType', 0, 1],... | stumpr/p5-vmomi | lib/VMOMI/ProfileParameterMetadata.pm | Perl | apache-2.0 | 653 |
use Spreadsheet::Read;
my $file = 'test.xls';
my $spreadsheet = ReadData( $file ) or die "Cannot read $file\n";
my $sheet_count = $spreadsheet->[0]{sheets} or die "No sheets in $file\n";
for my $sheet_index (1 .. $sheet_count)
{
# Skip empty worksheets
my $sheet = $spreadsheet->... | jmcveigh/komodo-tools | scripts/perl/use_any_spreadsheet_as_a_data_source/read_xls.pl | Perl | bsd-2-clause | 678 |
###########################################################################
#
# 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/am_ET.pod | Perl | mit | 11,238 |
package Paws::DeviceFarm::DeleteNetworkProfileResult;
use Moose;
has _request_id => (is => 'ro', isa => 'Str');
### main pod documentation begin ###
=head1 NAME
Paws::DeviceFarm::DeleteNetworkProfileResult
=head1 ATTRIBUTES
=head2 _request_id => Str
=cut
1; | ioanrogers/aws-sdk-perl | auto-lib/Paws/DeviceFarm/DeleteNetworkProfileResult.pm | Perl | apache-2.0 | 272 |
package Google::Ads::AdWords::v201409::LocationCriterionService::ResponseHeader;
use strict;
use warnings;
{ # BLOCK to scope variables
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201409' }
__PACKAGE__->__set_name('ResponseHeader');
__PACKAGE__->__set_nillable();
__PACKAGE__->__set_minOccurs();
__PA... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201409/LocationCriterionService/ResponseHeader.pm | Perl | apache-2.0 | 1,068 |
# !!!!!!! 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/Ccc/CCC26.pl | Perl | mit | 430 |
#
# 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... | maksimatveev/centreon-plugins | apps/exchange/2010/local/mode/mapimailbox.pm | Perl | apache-2.0 | 6,418 |
package Gherkin::ParserContext;
use strict;
use warnings;
use Class::XSAccessor accessors =>
[ qw/token_scanner token_matcher token_queue _errors/, ];
sub new {
my ( $class, $options ) = @_;
$options->{'token_queue'} ||= [];
$options->{'_errors'} ||= [];
bless $options, $class;
}
sub add_token... | Zearin/gherkin3 | perl/lib/Gherkin/ParserContext.pm | Perl | mit | 644 |
#!/usr/local/bin/perl
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://... | dplbsd/soc2013 | head/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/scripts/dstyle.pl | Perl | bsd-2-clause | 4,910 |
#! /usr/bin/env perl
# Copyright 2006-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/bn/asm/alpha-mont.pl | Perl | apache-2.0 | 5,948 |
#!/usr/bin/env perl
# 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
# "Lic... | larroy/mxnet | perl-package/AI-MXNet/examples/plot_network.pl | Perl | apache-2.0 | 2,220 |
# mod_ls.pl
sub mod_ls_directives
{
local $rv = [
[ 'DirFakeUser', 0, 2, 'virtual anon global', 1.15 ],
[ 'DirFakeGroup', 0, 2, 'virtual anon global', 1.15 ],
[ 'DirFakeMode', 0, 2, 'virtual anon global', 1.16 ],
[ 'LsDefaultOptions', 0, 2, 'virtual anon global', 1.16 ],
[ 'ListOptions', 0, 2, 'virtual anon globa... | rcuvgd/Webmin22.01.2016 | proftpd/mod_ls.pl | Perl | bsd-3-clause | 4,503 |
package UI::ChangeLog;
#
# Copyright 2015 Comcast Cable Communications Management, 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
#
# U... | smalenfant/traffic_control | traffic_ops/app/lib/UI/ChangeLog.pm | Perl | apache-2.0 | 2,839 |
#!/usr/local/bin/perl
use strict;
use utf8;
use DBI;
use Data::Dumper;
use Getopt::Long;
# how to conut DML tables
#
my ($orahost,$oraport,$orasid,$orauser,$orapass,$checkuser,$in_rollback,$in_xid)=("","1521","","system","","",0,"");
my ($startpos,$stoppos,$startdate,$stopdate,$select,$table,$debug);
GetOptions('start... | kenken0807/Oracle-ArchiveLog-Analyzer | Oracle-ArchiveLog-Analyzer.pl | Perl | mit | 9,246 |
package CGI::Application::NetNewsIface::Cache::DBI;
use strict;
use warnings;
use DBI;
=head1 NAME
CGI::Application::NetNewsIface::Cache::DBI - an internally used class to
form a fast cache of the NNTP data.
=head1 SYNOPSIS
use CGI::Application::NetNewsIface::Cache::DBI;
my $cache = CGI::Application::Net... | gitpan/CGI-Application-NetNewsIface | lib/CGI/Application/NetNewsIface/Cache/DBI.pm | Perl | mit | 9,073 |
package #
Date::Manip::TZ::amsant01;
# 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/amsant01.pm | Perl | mit | 8,099 |
#!/usr/local/bin/perl
#-------------------------------------
# Edit Scratchpad,
# (C)1997-2000, 1998 Harvard University
#
# W. S. Lane/M. Baker
#
# v3.1a
#
# licensed to Finnigan
#-------------------------------------
# a simple editor for known_ions.txt that simply uses a <TEXTAREA> to hold and
# edit the file
... | wangchulab/CIMAGE | cravatt_web/cgi-bin/flicka/edit_scratchpad.pl | Perl | mit | 2,961 |
%query: append3(o,o,o,i).
% mode: append[i,i,o]
append([],L,L).
append([H|L1],L2,[H|L3]) :- append(L1,L2,L3).
% mode: append3[i,i,i,o]
append3(A,B,C,D) :- append(A,B,E), append(E,C,D).
| ComputationWithBoundedResources/ara-inference | doc/tpdb_trs/Logic_Programming/talp_plumer/pl4.0.1-oooi.pl | Perl | mit | 187 |
#!/usr/bin/perl
use 5.010;
use strict;
use warnings;
use Scalar::Util qw(looks_like_number);
sub printlist {
my $i = 1;
print "\n( ";
foreach my $element (@_) {
if( $i <= scalar @_) {
print "$element ";
}
$i++;
}
print ")\n";
}
sub printlist2 {
my $i=1;
print "\n( ";
foreach my $element (@_) {
if( $i <= scala... | dimir2/hse12pi2-scripts | KolchinE/Perl/Hw3.pl | Perl | mit | 1,122 |
##############################################################################
# $URL: http://perlcritic.tigris.org/svn/perlcritic/trunk/distributions/Perl-Critic/lib/Perl/Critic/Exception/Configuration/Option/Global/ParameterValue.pm $
# $Date: 2012-07-02 22:16:39 -0700 (Mon, 02 Jul 2012) $
# $Author: thalj... | amidoimidazol/bio_info | Beginning Perl for Bioinformatics/lib/Perl/Critic/Exception/Configuration/Option/Global/ParameterValue.pm | Perl | mit | 3,427 |
package Spreadsheet::Template::Writer;
BEGIN {
$Spreadsheet::Template::Writer::AUTHORITY = 'cpan:DOY';
}
$Spreadsheet::Template::Writer::VERSION = '0.04';
use Moose::Role;
# ABSTRACT: role for classes which write spreadsheet files from a template
requires 'write';
no Moose::Role;
1;
__END__
=pod
=encoding UTF... | gitpan/Spreadsheet-Template | lib/Spreadsheet/Template/Writer.pm | Perl | mit | 1,275 |
use strict;
use Data::Dumper;
use Carp;
#
# This is a SAS Component
#
=head1 NAME
all_entities_Regulog
=head1 SYNOPSIS
all_entities_Regulog [-a] [--fields fieldlist] > entity-data
=head1 DESCRIPTION
Return all instances of the Regulog entity.
Example:
all_entities_Regulog -a
would retrieve all entitie... | kbase/kb_seed | scripts/all_entities_Regulog.pl | Perl | mit | 2,649 |
# 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 debian/tzdata/africa. Olson data version 2008c
#
# Do not edit this file directly.
#
package DateTime::TimeZ... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/DateTime/TimeZone/Africa/Freetown.pm | Perl | mit | 3,352 |
use 5.12.0;
# • 科技新聞通訊社-林鴻仁's avatar image.科技新聞通訊社-林鴻仁 asked Audrey Tang:
## Audrey Tang's avatar image.Audrey Tang•Jan 26Taiwan’s Digital Minister
# • Anonymous asked Audrey Tang:
## Anonymous profile image
## Anonymous•Dec 27
use utf8;
my ($id, $title, $user, $body, @replies);
my ($r_user, $r_body, $r_date... | audreyt/archive.tw | parse-wiselike.pl | Perl | cc0-1.0 | 1,944 |
#
# Copyright 2009-2013 MongoDB, Inc.
#
# 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 i... | 13pass/mongo-perl-driver | lib/MongoDB/Cursor.pm | Perl | apache-2.0 | 15,705 |
#
# Copyright 2015 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... | s-duret/centreon-plugins | network/juniper/ssg/plugin.pm | Perl | apache-2.0 | 1,797 |
# 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/BiddingDataExclusionService.pm | Perl | apache-2.0 | 1,458 |
#
# 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... | maksimatveev/centreon-plugins | database/firebird/mode/longqueries.pm | Perl | apache-2.0 | 5,728 |
#!/usr/bin/perl -w
use strict;
# Pre: 1., 2. Takes two paired end fastqs as inputs can be gzipped if they end
# in .gz, in this case zcat must be present in the path.
# 3., 4. Takes two output file names. These will not zip as its written
# now.
# 5. The quality score at which or be... | jason-weirather/Au-public | iron/utilities/filter_paired_fastq_by_quality.pl | Perl | apache-2.0 | 2,866 |
#
# 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/securactive/mode/listbcn.pm | Perl | apache-2.0 | 5,278 |
#
# 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 | cloud/azure/common/appservice/mode/iooperations.pm | Perl | apache-2.0 | 6,324 |
package Search::Elasticsearch::Serializer::JSON::XS;
$Search::Elasticsearch::Serializer::JSON::XS::VERSION = '1.17';
use Moo;
use JSON::XS 2.26;
has 'JSON' => ( is => 'ro', default => sub { JSON::XS->new->utf8(1) } );
with 'Search::Elasticsearch::Role::Serializer::JSON';
1;
=pod
=encoding UTF-8
=head1 NAME
Searc... | gitpan/Search-Elasticsearch | lib/Search/Elasticsearch/Serializer/JSON/XS.pm | Perl | apache-2.0 | 1,281 |
package OpenXPKI::Template::Plugin::Utils;
use strict;
use warnings;
use utf8;
use Moose;
use Net::DNS;
use Template::Plugin;
use MIME::Base64;
use Data::Dumper;
extends 'Template::Plugin';
=head1 OpenXPKI::Template::Plugin::Utils
Plugin for Template::Toolkit providing some string manipulation functions.
=cut
=... | openxpki/openxpki | core/server/OpenXPKI/Template/Plugin/Utils.pm | Perl | apache-2.0 | 1,483 |
#
# 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 | apps/redis/restapi/mode/databasesstats.pm | Perl | apache-2.0 | 32,335 |
#
# 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 | centreon/common/cisco/standard/snmp/mode/memory.pm | Perl | apache-2.0 | 8,693 |
#
# 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/cmdreturn.pm | Perl | apache-2.0 | 4,373 |
package VMOMI::MemorySnapshotOnIndependentDisk;
use parent 'VMOMI::SnapshotFault';
use strict;
use warnings;
our @class_ancestors = (
'SnapshotFault',
'VimFault',
'MethodFault',
);
our @class_members = ( );
sub get_class_ancestors {
return @class_ancestors;
}
sub get_class_members {
my $class ... | stumpr/p5-vmomi | lib/VMOMI/MemorySnapshotOnIndependentDisk.pm | Perl | apache-2.0 | 440 |
#
# 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 | apps/openldap/ldap/mode/systemusage.pm | Perl | apache-2.0 | 9,152 |
#
# 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/hpux/local/mode/storage.pm | Perl | apache-2.0 | 10,462 |
%------------------------------------------------------------------------------
%
% Arithmetic expressions
%
% Martin Dvorak
% 1999
%------------------------------------------------------------------------------
% Init & libraries
:- ['../../loadSWI... | dvorka/parser-combinators | src/prolog/demo/expr/geneze/1chains.pl | Perl | apache-2.0 | 2,004 |
#!/usr/bin/perl
package Pipeline::SmallRNA;
use strict;
use warnings;
use CQS::FileUtils;
use CQS::SystemUtils;
use CQS::ConfigUtils;
use CQS::ClassFactory;
use Data::Dumper;
use Hash::Merge qw( merge );
require Exporter;
our @ISA = qw(Exporter);
our %EXPORT_TAGS = ( 'all' => [qw(performSmallRNA perfo... | realizor/ngsperl | lib/Pipeline/SmallRNA.pm | Perl | apache-2.0 | 15,687 |
=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 not use this file except in compliance with the License.
You may obta... | muffato/ensembl | misc-scripts/xref_mapping/XrefParser/GOSlimParser.pm | Perl | apache-2.0 | 3,468 |
package Paws::DeviceFarm::GetSuite;
use Moose;
has Arn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'arn' , required => 1);
use MooseX::ClassAttribute;
class_has _api_call => (isa => 'Str', is => 'ro', default => 'GetSuite');
class_has _returns => (isa => 'Str', is => 'ro', de... | ioanrogers/aws-sdk-perl | auto-lib/Paws/DeviceFarm/GetSuite.pm | Perl | apache-2.0 | 1,568 |
%jc%:- use_module(library('persdb_sql/pl2sql')).
:- use_module(library('persdb_odbc/pl2sql_sql')).
%jcf%
:- use_module(library(strings)).
:- multifile [relation/3,attribute/4].
:- data [relation/3,attribute/4].
relation(product,3,'PRODUCT').
attribute(1,'PRODUCT','ID',int).
attribute(2,'PRODUCT','QUANTITY',int).
attr... | leuschel/ecce | www/CiaoDE/ciao/library/persdb_odbc/examples/pl2sql_example.pl | Perl | apache-2.0 | 605 |
#
# highmon.pl - Highlight Monitoring for weechat 0.3.0
# Version 2.3.1
#
# Add 'Highlight Monitor' buffer/bar to log all highlights in one spot
#
# Usage:
# /highmon [help] | [monitor [channel [server]]] | [clean default|orphan|all]
# Command wrapper for highmon commands
#
# /highmon clean default|orphan|all will cle... | marpaia/chef-osx | cookbooks/weechat/files/default/weechat/perl/highmon.pl | Perl | apache-2.0 | 32,837 |
#!/usr/bin/perl
require "bptest.pl";
$skiptests = 0; # to skip early tests during development
$timing = 0; # to use the same seed for timing tests
#
# This test covers the 8859-1, apple, TeX, troff, and HTML
# character sets. It also tests the canon<->unicode routines
# from bp-p-utils.pl.
#
# It does not te... | gitpan/Bundle-PBib | lib/Biblio/bp/tests/newcset.pl | Perl | bsd-3-clause | 9,506 |
% BEGIN LICENSE BLOCK
% Version: CMPL 1.1
%
% The contents of this file are subject to the Cisco-style Mozilla Public
% License Version 1.1 (the "License"); you may not use this file except
% in compliance with the License. You may obtain a copy of the License
% at www.eclipse-clp.org/license.
%
% Software distribute... | BarrelfishOS/barrelfish | usr/eclipseclp/documents/userman/gen_error.pl | Perl | mit | 2,824 |
package DBIx::Class::Storage::DBI::Sybase::ASE::NoBindVars;
use warnings;
use strict;
use base qw/
DBIx::Class::Storage::DBI::NoBindVars
DBIx::Class::Storage::DBI::Sybase::ASE
/;
use mro 'c3';
use List::Util 'first';
use Scalar::Util 'looks_like_number';
use namespace::clean;
sub _init {
my $self = shift;
$s... | ray66rus/vndrv | local/lib/perl5/DBIx/Class/Storage/DBI/Sybase/ASE/NoBindVars.pm | Perl | apache-2.0 | 3,010 |
package Google::Ads::AdWords::v201406::AdGroupServiceError::Reason;
use strict;
use warnings;
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201406'};
# derivation by restriction
use base qw(
SOAP::WSDL::XSD::Typelib::Builtin::string);
1;
__END__
=pod
=head1 NAME
=head1 DESCRIPTION
Perl dat... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201406/AdGroupServiceError/Reason.pm | Perl | apache-2.0 | 1,134 |
=pod
=head1 NAME
life_cycle-kdf - The KDF algorithm life-cycle
=head1 DESCRIPTION
All key derivation functions (KDFs) and pseudo random functions (PRFs)
go through a number of stages in their life-cycle:
=over 4
=item start
This state represents the KDF/PRF before it has been allocated. It is the
starting state... | jens-maus/amissl | openssl/doc/man7/life_cycle-kdf.pod | Perl | bsd-3-clause | 5,926 |
# IO::Select.pm
#
# Copyright (c) 1997-8 Graham Barr <gbarr@pobox.com>. All rights reserved.
# This program is free software; you can redistribute it and/or
# modify it under the same terms as Perl itself.
package IO::Select;
use strict;
use warnings::register;
use vars qw($VERSION @ISA);
require Exporter;
$... | operepo/ope | bin/usr/lib/perl5/core_perl/IO/Select.pm | Perl | mit | 8,349 |
#!/usr/bin/env perl6
use v6;
use lib 'ext/File__Find/lib/';
use lib 'ext/Shell__Command/lib';
use Shell::Command;
%*ENV<PANDA_SUBMIT_TESTREPORTS>:delete;
# Find old state file
my ($prefix, $state-file, $reports-file);
for grep(*.defined, %*ENV<DESTDIR>, %*CUSTOM_LIB<site home>) {
if "$_/panda/state".IO.e {
... | cygx/panda | rebootstrap.pl | Perl | mit | 1,715 |
package DDG::Goodie::IsAwesome::abrahimladha;
# ABSTRACT: abrahimladha's first Goodie
use DDG::Goodie;
use strict;
zci answer_type => "is_awesome_abrahimladha";
zci is_cached => 1;
triggers start => "duckduckhack abrahimladha";
handle remainder => sub {
return if $_;
return "abrahimladha is awesome and h... | roxxup/zeroclickinfo-longtail | lib/DDG/Goodie/IsAwesome/abrahimladha.pm | Perl | apache-2.0 | 389 |
#------------------------------------------------------------------------------
# File: ITC.pm
#
# Description: Read iTunes Cover Flow meta information
#
# Revisions: 01/12/2008 - P. Harvey Created
#
# References: 1) http://www.waldoland.com/dev/Articles/ITCFileFormat.aspx
# 2) http://www.fa... | mudasobwa/exifice | vendor/Image-ExifTool-10.02/lib/Image/ExifTool/ITC.pm | Perl | mit | 6,793 |
package LWP::ConnCache;
use strict;
use vars qw($VERSION $DEBUG);
$VERSION = "6.15";
sub new {
my($class, %cnf) = @_;
my $total_capacity = 1;
if (exists $cnf{total_capacity}) {
$total_capacity = delete $cnf{total_capacity};
}
if (%cnf && $^W) {
require Carp;
Carp::carp("Unrecognised o... | jkb78/extrajnm | local/lib/perl5/LWP/ConnCache.pm | Perl | mit | 7,621 |
use strict;
use File::Temp;
# test trns_transform_KBaseGenomes.Genome-to-EMBL.pl
my $temp = File::Temp->new();
close($temp);
my @url = ("--url", "http://tutorial.theseed.org/services/genome_annotation");
my @cmd = ('trns_transform_KBaseGenomes.Genome-to-EMBL', '-i', 'Rhodobacter_sphaeroides_2.4.1', '--workspace', 'K... | kbase/transform | t/test_ws_KBaseGenomes.Genome-to-EMBL.pl | Perl | mit | 511 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.