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 |
|---|---|---|---|---|---|
# !!!!!!! 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/Blk/CJK.pl | Perl | mit | 433 |
package Net::Simplify::CardToken;
=head1 NAME
Net::Simplify::CardToken - A Simplify Commerce CardToken object
=head1 SYNOPSIS
use Net::Simplify;
$Net::Simplify::public_key = 'YOUR PUBLIC KEY';
$Net::Simplify::private_key = 'YOUR PRIVATE KEY';
# Create a new CardToken.
my $card_token = Net::Simplify::Ca... | gitpan/simplifycommerce-sdk-perl-testing | lib/Net/Simplify/CardToken.pm | Perl | bsd-3-clause | 4,998 |
If you read this file _as_is_, just ignore the funny characters you
see. It is written in the POD format (see perlpod manpage) which is
specially designed to be readable as is.
=head1 NAME
perlos2 - Perl under OS/2, DOS, Win0.3*, Win0.95 and WinNT.
=head1 SYNOPSIS
One can read this document in the following formats... | efortuna/AndroidSDKClone | ndk_experimental/prebuilt/linux-x86_64/lib/perl5/5.16.2/pod/perlos2.pod | Perl | apache-2.0 | 92,706 |
=pod
=head1 NAME
UI, UI_METHOD,
UI_new, UI_new_method, UI_free, UI_add_input_string, UI_dup_input_string,
UI_add_verify_string, UI_dup_verify_string, UI_add_input_boolean,
UI_dup_input_boolean, UI_add_info_string, UI_dup_info_string,
UI_add_error_string, UI_dup_error_string, UI_construct_prompt,
UI_add_user_data, UI_... | openweave/openweave-core | third_party/openssl/openssl/doc/crypto/UI_new.pod | Perl | apache-2.0 | 8,175 |
#!/usr/bin/perl
# Visits every directory, calls make clean, and then removes the Makefile
#
# Written by Tomofumi Yuki, 11/21 2014
#
my $TARGET_DIR = ".";
if ($#ARGV != 0) {
printf("usage perl clean.pl target-dir\n");
exit(1);
}
if ($#ARGV == 0) {
$TARGET_DIR = $ARGV[0];
}
my @categories = ('linear-alg... | pauloapanucci/pc-cholesky | utilities/clean.pl | Perl | mit | 1,031 |
#!/usr/bin/perl
@list = ('', 'ZMACRO', 'NMACRO', 'TMACRO', '1', '+1', '1 2', '1,2',
'foo', 'foo bar', '%', '+foo', '<<');
@tests = ('token', 'empty');
print ";Testname=test; Arguments=-fbin -oiftoken.txt; Files=stdout stderr iftoken.txt"
print "%define ZMACRO\n";
print "%define NMACRO 1\n";
print "%define TMACRO 1 ... | endlessm/chromium-browser | third_party/nasm/test/iftoken.pl | Perl | bsd-3-clause | 753 |
#============================================================= -*-Perl-*-
#
# Template::Exception
#
# DESCRIPTION
# Module implementing a generic exception class used for error handling
# in the Template Toolkit.
#
# AUTHOR
# Andy Wardley <abw@wardley.org>
#
# COPYRIGHT
# Copyright (C) 1996-2007 Andy Wardley.... | Dokaponteam/ITF_Project | xampp/perl/vendor/lib/Template/Exception.pm | Perl | mit | 6,402 |
require 5;
use 5.008;
## Anything before 5.8.0 is GIMPY!
## This module is to be use()'d only by Pod::Simple::Transcode
package Pod::Simple::TranscodeSmart;
use strict;
use Pod::Simple;
require Encode;
sub is_dumb {0}
sub is_smart {1}
sub all_encodings {
return Encode::->encodings(':all');
}
sub encoding_is_ava... | leighpauls/k2cro4 | third_party/cygwin/lib/perl5/vendor_perl/5.10/Pod/Simple/TranscodeSmart.pm | Perl | bsd-3-clause | 631 |
#!/usr/bin/perl
# This Perl script tweaks GDB sources to be more useful for Doxygen.
while (<>) {
# Allow "/* * " as an equivalent to "/** ", better for Emacs compat.
s/\/\* \* /\/** /sg;
# Manually expand macro seen in structs and such.
s/ENUM_BITFIELD[ \t]*\((.*?)\)/__extension__ enum $1/sg;
pri... | armoredsoftware/protocol | measurer/gdb-7.9/gdb/doc/filter-params.pl | Perl | bsd-3-clause | 326 |
package Archive::Zip::Member;
# A generic member of an archive
use strict;
use vars qw( $VERSION @ISA );
BEGIN {
$VERSION = '1.48';
@ISA = qw( Archive::Zip );
if ($^O eq 'MSWin32') {
require Win32;
require Encode;
Encode->import(qw{ decode_utf8 });
}
}
use Archive::Zip q... | weipinghe/elasticsearch | dev-tools/src/main/resources/license-check/lib/Archive/Zip/Member.pm | Perl | apache-2.0 | 37,440 |
#!/usr/bin/env perl
=head1 NAME
add_blast.pl -- add number of blast matches to primers.txt
=head1 SYNOPSIS
B<add_blast.pl> <all_primers.txt and blastn outfmt 7 file(s)>
Run blast locally using output format 7.
blastn -db ucsc.hg19.fasta -evalue 0.05 -max_target_seqs 15 -outfmt 7 -task blastn -query <sample.all_pr... | eulaf/cardio_padlock | scripts/add_blast.pl | Perl | mit | 6,242 |
#!/usr/bin/perl
=head1 NAME
WWW::Shopify - Main object representing acess to a particular Shopify store.
=cut
=head1 DISCLAIMER
WWW::Shopify is my first official CPAN module, so please bear with me as I try to sort out all the bugs, and deal with the unfamiliar CPAN infrastructure. Don't expect this to work out of... | gitpan/WWW-Shopify | lib/WWW/Shopify.pm | Perl | mit | 26,291 |
#------------------------------------------------------------------------------
# File: Pentax.pm
#
# Description: Pentax/Asahi EXIF maker notes tags
#
# Revisions: 11/25/2003 - P. Harvey Created
# 02/10/2004 - P. Harvey Completely re-done
# 02/16/2004 - W. Smith Updated (see ref... | rizzles/convert | imageprocessor/processorcommand/lib/Image/ExifTool/Pentax.pm | Perl | mit | 211,867 |
#!/usr/bin/perl
$_=lc<>;s/(^|(?<= ))(\S)/uc$2/eg;print
| Lyapunov/coding_game | pearls/mini_perl_5.pl | Perl | mit | 55 |
#!/usr/bin/perl -w
######################################
#
# this script take a BAM file as input and outputs the locus_ID,chr,coord,strand,count,seq_context
#
# parameters include
# MQ mapping quality
# readlength
# fastalen number of nuceltodie context to display
# reference genome fasta file
#
# dependencies inc... | oharismendy/TDTSEQ | pipeduct_count.pl | Perl | mit | 2,189 |
{
=head1 NAME
Net::Blogger::Engine::Userland::metaWeblog - UserLand metaWeblog API engine
=head1 SYNOPSIS
my $radio = Blogger->new(engine=>"radio");
$radio->Proxy(PROXY);
$radio->Username(USERNAME);
$radio->Password(PASSWORD);
$radio->metaWeblog()->newPost(
title=>"hello",
... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/Net/Blogger/Engine/Userland/metaWeblog.pm | Perl | mit | 9,193 |
end_of_file.
% @TODO unbreak
:- expects_dialect(lps).
/* Example from Accord Project:
https://docs.google.com/document/d/1UacA_r2KGcBA2D4voDgGE8jqid-Uh4Dt09AE-shBKR0/edit#
https://www.accordproject.org/
* "Late Delivery and Penalty. In case of delayed delivery
* [{" except for Force Majeure cases,":? forceMa... | TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_ec/test/lps_user_examples/deliveryDelay.pl | Perl | mit | 2,649 |
#!/usr/bin/env perl
require 5.12.0;
use strict;
use warnings;
use Data::Dumper;
use Getopt::Long;
use Bio::Perl;
use File::Basename;
use File::Temp qw/tempdir/;
use List::Util qw/min max sum/;
use FindBin;
use lib "$FindBin::RealBin/../lib";
use LyveSET qw/logmsg/;
use lib "$FindBin::RealBin/../lib/lib/perl5";
use Nu... | lskatz/lyve-SET | scripts/densityFilterVcf.pl | Perl | mit | 4,213 |
#!/usr/bin/env perl
#
# Decode IMAP UTF-7 string
#
# VERSION :0.1.0
# DATE :2015-08-01
# AUTHOR :Viktor Szépe <viktor@szepe.net>
# URL :https://github.com/szepeviktor/debian-server-tools
# LICENSE :The MIT License (MIT)
# DEPENDS :apt-get install libencode-imaputf7-perl
# REF... | djeraseit/debian-server-tools | mail/decode-imap-utf7.pl | Perl | mit | 585 |
=pod
=head1 NAME
UI_new, UI_new_method, UI_free, UI_add_input_string, UI_dup_input_string,
UI_add_verify_string, UI_dup_verify_string, UI_add_input_boolean,
UI_dup_input_boolean, UI_add_info_string, UI_dup_info_string,
UI_add_error_string, UI_dup_error_string, UI_construct_prompt,
UI_add_user_data, UI_get0_user_data,... | vbloodv/blood | extern/openssl.orig/doc/crypto/ui.pod | Perl | mit | 8,170 |
package XrefMapper::ProcessPaired;
use vars '@ISA';
@ISA = qw{ XrefMapper::BasicMapper };
use strict;
use warnings;
use XrefMapper::BasicMapper;
use Cwd;
use DBI;
use File::Basename;
use IPC::Open3;
sub new {
my($class, $mapper) = @_;
my $self ={};
bless $self,$class;
$self->xref($mapper->xref);
$self->v... | adamsardar/perl-libs-custom | EnsemblAPI/ensembl/misc-scripts/xref_mapping/XrefMapper/ProcessPaired.pm | Perl | apache-2.0 | 8,861 |
# 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/Common/LogicalUserListInfo.pm | Perl | apache-2.0 | 1,018 |
use strict;
use warnings;
package G2P::DBSQL::GenomicFeatureDiseasePublicationAdaptor;
use G2P::DBSQL::BaseAdaptor;
use G2P::GenomicFeatureDiseasePublication;
our @ISA = ('G2P::DBSQL::BaseAdaptor');
my @columns = qw/GFD_publication_id genomic_feature_disease_id publication_id/;
sub store {
my $self = shift;
my... | at7/gene2phenotype | modules/G2P/DBSQL/GenomicFeatureDiseasePublicationAdaptor.pm | Perl | apache-2.0 | 3,698 |
=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://... | Ensembl/ensembl-compara | modules/Bio/EnsEMBL/Compara/Production/Analysis/ExtendedGenomeAlignment.pm | Perl | apache-2.0 | 5,978 |
#
# 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 | apps/vmware/connector/mode/healthhost.pm | Perl | apache-2.0 | 2,908 |
package Paws::EC2::ElasticGpuHealth;
use Moose;
has Status => (is => 'ro', isa => 'Str', request_name => 'status', traits => ['NameInRequest']);
1;
### main pod documentation begin ###
=head1 NAME
Paws::EC2::ElasticGpuHealth
=head1 USAGE
This class represents one of two things:
=head3 Arguments in a call to a... | ioanrogers/aws-sdk-perl | auto-lib/Paws/EC2/ElasticGpuHealth.pm | Perl | apache-2.0 | 1,281 |
#!/usr/bin/env perl
#Creates text file of identifers conforming to convention in ../../README.md
#Obtains identifiers from EBiSC IMS
use strict;
use warnings;
use Getopt::Long;
use ReseqTrack::EBiSC::IMS;
my ($IMS_user, $IMS_pass, $outfile);
GetOptions("user=s" => \$IMS_user,
"pass=s" => \$IMS_pass,
"outfi... | EMBL-EBI-GCA/gca-tools | literature_mining/scripts/literature_mining.ebisc.pl | Perl | apache-2.0 | 923 |
# PODNAME: Moose::Cookbook::Roles::Comparable_CodeReuse
# ABSTRACT: Using roles for code reuse
__END__
=pod
=encoding UTF-8
=head1 NAME
Moose::Cookbook::Roles::Comparable_CodeReuse - Using roles for code reuse
=head1 VERSION
version 2.1404
=head1 SYNOPSIS
package Eq;
use Moose::Role;
requires 'equal_to'... | ray66rus/vndrv | local/lib/perl5/x86_64-linux-thread-multi/Moose/Cookbook/Roles/Comparable_CodeReuse.pod | Perl | apache-2.0 | 10,000 |
=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/IdMapping/StableIdMapper.pm | Perl | apache-2.0 | 21,342 |
#
# 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 | network/cisco/asa/snmp/plugin.pm | Perl | apache-2.0 | 1,897 |
package WinWorkspaceBase;
# ************************************************************
# Description : A Windows base module for Workspace Creators
# Author : Chad Elliott
# Create Date : 2/26/2007
# $Id: WinWorkspaceBase.pm 2035 2011-10-06 15:05:21Z johnnyw $
# *******************************************... | batmancn/TinySDNController | ACE_wrappers/MPC/modules/WinWorkspaceBase.pm | Perl | apache-2.0 | 874 |
package Paws::Route53::ListTrafficPolicyInstancesResponse;
use Moose;
has HostedZoneIdMarker => (is => 'ro', isa => 'Str');
has IsTruncated => (is => 'ro', isa => 'Bool', required => 1);
has MaxItems => (is => 'ro', isa => 'Str', required => 1);
has TrafficPolicyInstanceNameMarker => (is => 'ro', isa => 'Str... | ioanrogers/aws-sdk-perl | auto-lib/Paws/Route53/ListTrafficPolicyInstancesResponse.pm | Perl | apache-2.0 | 2,480 |
=pod
=head1 NAME
verify - Utility to verify certificates
=head1 SYNOPSIS
B<openssl> B<verify>
[B<-help>]
[B<-CAfile file>]
[B<-CApath directory>]
[B<-no-CAfile>]
[B<-no-CApath>]
[B<-allow_proxy_certs>]
[B<-attime timestamp>]
[B<-check_ss_sig>]
[B<-CRLfile file>]
[B<-crl_download>]
[B<-crl_check>]
[B<-crl_check_all>... | openweave/openweave-core | third_party/openssl/openssl/doc/apps/verify.pod | Perl | apache-2.0 | 22,058 |
#!/usr/bin/perl -w
###############################################################################
# $Id: DataStructure.pm 1675483 2015-04-22 19:59:24Z arkurth $
###############################################################################
# Licensed to the Apache Software Foundation (ASF) under one or more
# contrib... | bq-xiao/apache-vcl | managementnode/lib/VCL/DataStructure.pm | Perl | apache-2.0 | 109,541 |
#
# 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 | network/fritzbox/upnp/mode/system.pm | Perl | apache-2.0 | 6,047 |
package ACDwide::DB::Schema;
# Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE
use strict;
use warnings;
use base 'DBIx::Class::Schema';
__PACKAGE__->load_namespaces;
# Created by DBIx::Class::Schema::Loader v0.07010 @ 2015-06-17 23:49:29
# DO NOT MODIFY THIS OR ANYTHING ABOVE! ... | ivanoff/ACDwide | opt/ACDwide/DB/Schema.pm | Perl | apache-2.0 | 454 |
#!/usr/local/bin/perl
print "/* apps/progs.h */\n";
print "/* automatically generated by progs.pl for openssl.c */\n\n";
grep(s/^asn1pars$/asn1parse/,@ARGV);
foreach (@ARGV)
{ printf "extern int %s_main(int argc,char *argv[]);\n",$_; }
print <<'EOF';
#define FUNC_TYPE_GENERAL 1
#define FUNC_TYPE_MD ... | caidongyun/nginx-openresty-windows | nginx/objs/lib/openssl-1.0.1g/apps/progs.pl | Perl | bsd-2-clause | 3,857 |
package Tapper::CLI::Init;
BEGIN {
$Tapper::CLI::Init::AUTHORITY = 'cpan:TAPPER';
}
{
$Tapper::CLI::Init::VERSION = '4.1.3';
}
use 5.010;
use strict;
use warnings;
use Tapper::Cmd::Init;
sub init
{
my ($c) = @_;
$c->getopt( 'quiet|q', 'help|?', 'default|d' );
my $use_defaults = $c->opti... | gitpan/Tapper-CLI | lib/Tapper/CLI/Init.pm | Perl | bsd-2-clause | 2,150 |
package DbUser;
use strict;
use warnings;
use parent 'DBIx::Class';
__PACKAGE__->load_components("Core");
__PACKAGE__->table("dbuser");
__PACKAGE__->add_columns
(
"id", { data_type => "INT", default_value => undef, is_nullable => 0, size => 11, is_auto_increment => 1, },
"name", { data_ty... | csdb/Tapper-MCP | xt/DbUser.pm | Perl | bsd-2-clause | 465 |
package Loong::DB::Mango;
use Loong::Base 'Mango';
use Data::Dumper;
sub trim_db {
my ( $self, $db ) = @_;
$db =~ s/www.//g;
$db =~ s/.com//g;
$db =~ s/\./_/g;
return $db;
}
sub save_crawl_info {
my ( $self, $crawled, $seed, $name ) = @_;
my $set = '$set';
my $db = $se... | niumang/loong | lib/Loong/DB/Mango.pm | Perl | bsd-3-clause | 1,014 |
/* Part of XPCE --- The SWI-Prolog GUI toolkit
Author: Christian Schlichtherle
WWW: http://www.swi-prolog.org
Copyright (c) 1995, Christian Schlichtherle
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provi... | TeamSPoon/logicmoo_workspace | docker/rootfs/usr/local/lib/swipl/xpce/prolog/contrib/rubik/rubik.pl | Perl | mit | 35,632 |
% -----------------------------------------------------------------------------
%
% S I S version 0.1
%
% (Straightforward Implementation of Scheme)
%
% This program is a compiler for the Scheme language which generates
% native code (for MC68000). Quintus prolog has ... | TeamSPoon/MUD_ScriptEngines | prolog/wam_cl/reference/moo_ext_scheme_sis.pl | Perl | mit | 98,207 |
package Google::Ads::AdWords::v201409::MediaService::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();
__PACKAGE__->__s... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201409/MediaService/ResponseHeader.pm | Perl | apache-2.0 | 1,032 |
package #
Date::Manip::Offset::off414;
# 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/off414.pm | Perl | bsd-2-clause | 927 |
package #
Date::Manip::TZ::amphoe00;
# 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' i... | nriley/Pester | Source/Manip/TZ/amphoe00.pm | Perl | bsd-2-clause | 3,580 |
#!/usr/bin/env swipl
%
% Dec 13, 2034
% Douglas Miles
% cls ; kill -9 %1 ; swipl -g "ensure_loaded(pack(logicmoo_base/t/sanity_base/clause_fwd_01c.pfc'))."
:- include(test_header).
% :- set_prolog_flag(lm_pfc_lean,true).
% :- use_module(library(pfc)).
:- kb_local(aa/2).
( aa(N):- _B ) ==> early_aa_H(N).
( aa(N):-... | TeamSPoon/logicmoo_workspace | packs_sys/pfc/t/sanity_base/clause_fwd_02.pfc.pl | Perl | mit | 2,867 |
package CPANPLUS::Internals::Source::SQLite::Tie;
use deprecate;
use strict;
use warnings;
use CPANPLUS::Error;
use CPANPLUS::Module;
use CPANPLUS::Module::Fake;
use CPANPLUS::Module::Author::Fake;
use CPANPLUS::Internals::Constants;
use Params::Check qw[check];
use Module::Load::Conditional qw[can_l... | Bjay1435/capstone | rootfs/usr/share/perl/5.18.2/CPANPLUS/Internals/Source/SQLite/Tie.pm | Perl | mit | 3,045 |
use strict;
use warnings FATAL => 'all';
local $| = 1; # unbuffered mode
my $r = shift;
print "Content-Type: text/html\n\n";
print "yet another boring test string";
# This line passes a bucket brigade with a single bucket FLUSH
# it was causing problems in the mod_deflate filter which was trying to
# deflate empty ... | gitpan/mod_perl | ModPerl-Registry/t/cgi-bin/flush.pl | Perl | apache-2.0 | 473 |
######################################################################
# 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 ... | getgearbox/gearbox | gearbox/swig/perl/lib/Gearbox/StatusManager.pm | Perl | bsd-3-clause | 553 |
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
# This file is machine-generated by lib/unicore/mktables from the Unicode
# database, Version 6.1.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... | efortuna/AndroidSDKClone | ndk_experimental/prebuilt/linux-x86_64/lib/perl5/5.16.2/unicore/lib/Jg/DalathRi.pl | Perl | apache-2.0 | 447 |
# display args for pam_securetty.so.pl
# display_args(&service, &module, &args)
sub display_module_args
{
local $file = "/etc/securetty";
print &ui_table_row($text{'securetty_ttys'},
&ui_textarea("ttys", &read_file_contents($file), 5, 40), 3);
}
# parse_module_args(&service, &module, &args)
sub parse_module_args
{
l... | HasClass0/webmin | pam/pam_securetty.so.pl | Perl | bsd-3-clause | 535 |
###########################################################################
#
# 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/es_DO.pm | Perl | mit | 10,673 |
#!/usr/bin/env perl
#
# $Header$
#
# copyright (c) 2007-2010
# Author: Jeffrey I Cohen
#
#
use Pod::Usage;
use Getopt::Long;
use Data::Dumper;
use strict;
use warnings;
=head1 NAME
B<dld.pl> - [D]ead[L]ock [D]etector
=head1 SYNOPSIS
B<dld> [options]
Options:
-help brief help message
-man ... | PGer/incubator-hawq | src/test/regress/dld.pl | Perl | apache-2.0 | 8,763 |
package Digest;
use strict;
use vars qw($VERSION %MMAP $AUTOLOAD);
$VERSION = "1.15";
%MMAP = (
"SHA-1" => ["Digest::SHA1", ["Digest::SHA", 1], ["Digest::SHA2", 1]],
"SHA-224" => [["Digest::SHA", 224]],
"SHA-256" => [["Digest::SHA", 256], ["Digest::SHA2", 256]],
"SHA-384" => [["Digest::SHA", 38... | leighpauls/k2cro4 | third_party/cygwin/lib/perl5/5.10/Digest.pm | Perl | bsd-3-clause | 10,316 |
#
# Copyright (C) 2005, 2006, 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org>
# Copyright (C) 2006 Anders Carlsson <andersca@mac.com>
# Copyright (C) 2006, 2007 Samuel Weinig <sam@webkit.org>
# Copyright (C) 2006 Alexey Proskuryakov <ap@webkit.org>
# Copyright (C) 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights r... | 13W/phantomjs | src/qt/src/3rdparty/webkit/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm | Perl | bsd-3-clause | 153,633 |
package OAuth::Lite2::Client::WebServer;
use strict;
use warnings;
use base 'Class::ErrorHandler';
use bytes ();
use URI;
use Carp ();
use Try::Tiny qw/try catch/;
use LWP::UserAgent;
use MIME::Base64 qw(encode_base64);
use HTTP::Request;
use HTTP::Headers;
use Params::Validate qw(HASHREF);
use OAuth::Lite2;
use OAuth... | movabletype/mt-plugin-google-openid-connect | plugins/GoogleOpenIDConnect/extlib/OAuth/Lite2/Client/WebServer.pm | Perl | mit | 11,446 |
use 5.022;
{
package Table;
use Moose;
use namespace::autoclean;
has '_drinks' => (
is => 'rw',
isa => 'ArrayRef',
default => sub { []; },
);
has 'strategy' => (
is => 'rw',
isa => 'BillingStrategy',
);
sub add {
my $self = ... | jmcveigh/perl-design-patterns | BehavioralPatterns/StrategyPattern.pl | Perl | mit | 1,769 |
##############################################################################
# $URL: http://perlcritic.tigris.org/svn/perlcritic/trunk/distributions/Perl-Critic/lib/Perl/Critic/Policy/ValuesAndExpressions/ProhibitSpecialLiteralHeredocTerminator.pm $
# $Date: 2012-07-02 22:16:39 -0700 (Mon, 02 Jul 2012) $
# ... | amidoimidazol/bio_info | Beginning Perl for Bioinformatics/lib/Perl/Critic/Policy/ValuesAndExpressions/ProhibitSpecialLiteralHeredocTerminator.pm | Perl | mit | 3,536 |
use strict;
use warnings;
require 'Configuration/Config.pl';
use vars qw($loginConfig $gameConfig $redeemConfig $dbConfig);
use Module::Find;
use Utils::Tools;
use Utils::Logger;
use Utils::Crypt;
use Drivers::Mysql;
use Drivers::Sock;
use Misc::Crumbs;
use Server::Centre::PluginBase;
usesub Server::Systems;
us... | lake-icp/Luna | Run.pm | Perl | mit | 1,000 |
# 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/asia. Olson data version 2015g
#
# Do not edit this file directly.
#
package DateTime::TimeZ... | rosiro/wasarabi | local/lib/perl5/DateTime/TimeZone/Asia/Dubai.pm | Perl | mit | 1,210 |
#########################################################
package AnyData::Format::Ini;
#########################################################
# copyright (c) 2000, Jeff Zucker <jeff@vpservices.com>
# all rights reserved
#########################################################
=head1 NAME
AnyData::Format::Ini - ... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/AnyData/Format/Ini.pm | Perl | mit | 1,897 |
/* <module>
% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
% Both A Bottom Up and Top Down Chart Parser
% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
% from the book "Natural Language Processing in Prolog" %
% published by Addis... | TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_nlu/prolog/logicmoo_nlu/parser_chart89.pl | Perl | mit | 2,992 |
% This was an assignment that i did for the PL class (2013) for a friend.
% It is a graph-search-related, optimization problem - i don't remember what it actually does (!)
% but it was well optimized - basically, i do a tree-pruning on the search space
% based on some restrictions that applied to the specific problem.
... | bblodfon/Prolog | prolog_files/provata.pl | Perl | mit | 7,273 |
package Handlers;
use lib '/';
use Plex::Compiler;
use Plex::Lexer;
local $/ = undef;
my $lex = Plex::Lexer->new();
sub html_handler {
my (undef, $file) = @_;
open(HTML, $file);
my $retr = <HTML>;
close (HTML);
return $retr;
}
sub plex_handler {
my (undef, $file, $c, $r) = @_;
my %ARGS;
... | zulla/plex | src/Handlers.pm | Perl | mit | 1,015 |
#!/gsc/bin/perl
#takes two files:
#arg0 = copy number file - standard 5-column CBS output (chr, start, stop, num.probes, seg.mean)
#arg1 = bed file containing "blocked" gene names and positions (chr, start, stop, geneName)
# where blocked means one line per gene - start of gene to end of gene
#outputs original ... | chrisamiller/bioinfoSnippets | annotateCnWithGenes.pl | Perl | mit | 955 |
#
# 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/informix/sql/mode/tablelocks.pm | Perl | apache-2.0 | 15,568 |
# German adjectives related to quantities
# @(#) $Id: aj_color.pl 36 2008-09-08 06:05:06Z gfis $
# 2006-06-23, Georg Fischer
# caution, must be stored in UTF-8 encoding: äöüÄÖÜß, output in UTF-8
#
# Copyright 2006 Dr. Georg Fischer <punctum at punctum dot kom>
#
# Licensed under the Apache License, Version ... | gfis/gramword | dict/Aj/aj_color.pl | Perl | apache-2.0 | 1,621 |
package Paws::Rekognition::Face;
use Moose;
has BoundingBox => (is => 'ro', isa => 'Paws::Rekognition::BoundingBox');
has Confidence => (is => 'ro', isa => 'Num');
has ExternalImageId => (is => 'ro', isa => 'Str');
has FaceId => (is => 'ro', isa => 'Str');
has ImageId => (is => 'ro', isa => 'Str');
1;
### ... | ioanrogers/aws-sdk-perl | auto-lib/Paws/Rekognition/Face.pm | Perl | apache-2.0 | 2,014 |
#
# 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... | gitpan/MongoDB | lib/MongoDB/BulkWrite.pm | Perl | apache-2.0 | 25,098 |
package VMOMI::PropertyChange;
use parent 'VMOMI::DynamicData';
use strict;
use warnings;
our @class_ancestors = (
'DynamicData',
);
our @class_members = (
['name', undef, 0, ],
['op', 'PropertyChangeOp', 0, ],
['val', 'anyType', 0, 1],
);
sub get_class_ancestors {
return @class_ancestors;
}
... | stumpr/p5-vmomi | lib/VMOMI/PropertyChange.pm | Perl | apache-2.0 | 478 |
package ExecuteAndTrace;
use strict;
################################################################################
#
# P E R L M O D U L E
#
################################################################################
#
# DATE OF ORIGIN : Mar 19, 2015
#
#----------------------------... | henk52/virman | bin/unit_tests/ExecuteAndTrace.pm | Perl | apache-2.0 | 2,349 |
:- module(persvalue, [
persistent_file/2,
load_file/2,
save_file/2,
group_to_string/2,
show_values/1,
save_group/1,
retract_group/1,
set_value/3,
current_value/3,
main/0],
[functions]).
:- use_module(library(file_utils)).
:- use_module(library(aggregates)).
:- use_module(library(lists)).
:- use_module(libra... | leuschel/ecce | www/CiaoDE/ciao/contrib/persvalue/persvalue.pl | Perl | apache-2.0 | 2,006 |
:- class(class5method).
method1.
method2.
method3.
method4.
method5.
| leuschel/ecce | www/CiaoDE/ciao/library/class/benchmarks/new/on_method/class5method.pl | Perl | apache-2.0 | 71 |
package Tapper::TestSuite::Netperf;
# ABSTRACT: Tapper - Network performance measurements
use Moose;
with 'MooseX::Log::Log4perl';
1; # End of Tapper::TestSuite::Netperf
__END__
=head1 SYNOPSIS
You most likely want to run the frontend cmdline tool like this
# host 1
$ tapper-testsuite-netperf-server
# hos... | tapper/Tapper-TestSuite-Netperf | lib/Tapper/TestSuite/Netperf.pm | Perl | bsd-2-clause | 460 |
package CoGeX::Result::Organism;
use strict;
use warnings;
use base 'DBIx::Class::Core';
use JSON qw(encode_json);
=head1 NAME
CoGeX::Organism
=head1 SYNOPSIS
This object uses the DBIx::Class to define an interface to the C<organism> table in the CoGe database.
The C<organism> table contains the name, description,... | LyonsLab/coge | modules/Database/lib/CoGeX/Result/Organism.pm | Perl | bsd-2-clause | 8,333 |
#!/usr/bin/perl
use Frontier::Client;
use Data::Dumper;
$coder = Frontier::RPC2->new;
my $HOST = 'server';
my $user = 'user';
my $pass = 'password';
my $client = new Frontier::Client(url => "http://$HOST/rpc/api");
my $session = $client->call('auth.login',$user, $pass);
my $packages = $client->call('system.listLate... | at-boy/spwlk_cli | testing/latest_upgradable_packages.pl | Perl | bsd-3-clause | 507 |
package App::Netdisco::Worker::Plugin::Hook::Exec;
use Dancer ':syntax';
use App::Netdisco::Worker::Plugin;
use aliased 'App::Netdisco::Worker::Status';
use MIME::Base64 'decode_base64';
use Command::Runner;
use Template;
register_worker({ phase => 'main' }, sub {
my ($job, $workerconf) = @_;
my $extra = from_js... | netdisco/netdisco | lib/App/Netdisco/Worker/Plugin/Hook/Exec.pm | Perl | bsd-3-clause | 1,689 |
#
# This file is part of MooseX-Attribute-Deflator
#
# This software is Copyright (c) 2012 by Moritz Onken.
#
# This is free software, licensed under:
#
# The (three-clause) BSD License
#
package MooseX::Attribute::LazyInflator::Meta::Role::Method::Accessor;
{
$MooseX::Attribute::LazyInflator::Meta::Role::Method::A... | gitpan/MooseX-Attribute-Deflator | lib/MooseX/Attribute/LazyInflator/Meta/Role/Method/Accessor.pm | Perl | bsd-3-clause | 1,703 |
#!/usr/bin/perl -w
use strict;
my $nodes_per_host = 4;
my $num_threads = $ARGV[0] || 32;
my $sleep_time = 100000;
my $interval = 24000000;
my $num_messages = 10;
my $logging = 0;
my $downgrade_to_none = 0;
my $current_time = (time()+10);
print "Running nodes_per $nodes_per_host num_threads $num_threads current_time... | jojochuang/eventwave | application/appgroupstream/run.pl | Perl | bsd-3-clause | 1,063 |
package Excel::Writer::XLSX::Examples;
###############################################################################
#
# Examples - Excel::Writer::XLSX examples.
#
# A documentation only module showing the examples that are
# included in the Excel::Writer::XLSX distribution. This
# file was generated automatically v... | Microsoft/StorScore | lib/Excel/Writer/XLSX/Examples.pm | Perl | mit | 310,149 |
package autodie;
use 5.008;
use strict;
use warnings;
use Fatal ();
our @ISA = qw(Fatal);
our $VERSION;
BEGIN {
$VERSION = '2.13';
}
use constant ERROR_WRONG_FATAL => q{
Incorrect version of Fatal.pm loaded by autodie.
The autodie pragma uses an updated version of Fatal to do its
heavy lifting. We seem to have... | Bjay1435/capstone | rootfs/usr/share/perl/5.18.2/autodie.pm | Perl | mit | 11,935 |
#
# 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/pacemaker/local/plugin.pm | Perl | apache-2.0 | 1,481 |
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
# This file is machine-generated by lib/unicore/mktables from the Unicode
# database, Version 6.1.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... | efortuna/AndroidSDKClone | ndk_experimental/prebuilt/linux-x86_64/lib/perl5/5.16.2/unicore/lib/Gc/Me.pl | Perl | apache-2.0 | 463 |
=pod
=head1 NAME
SSL_CTX_set_generate_session_id, SSL_set_generate_session_id,
SSL_has_matching_session_id, GEN_SESSION_CB
- manipulate generation of SSL session IDs (server only)
=head1 SYNOPSIS
#include <openssl/ssl.h>
typedef int (*GEN_SESSION_CB)(const SSL *ssl, unsigned char *id,
... | openweave/openweave-core | third_party/openssl/openssl/doc/ssl/SSL_CTX_set_generate_session_id.pod | Perl | apache-2.0 | 5,705 |
#!/usr/bin/perl -w
# This handler requires JSON::XS, File::Copy.
use strict;
use warnings;
use CGI qw(:standard);
use JSON::XS;
use File::Copy;
use utf8;
my $base_url = "http://localhost"; # The base URL for your file directory
my $root = "/srv/http/jwysiwyg"; # Local URI for file directory
my $action = param("action... | allengaller/zenx-tmall | web/public_html/protected/modules/translate/widgets/assets/jwysiwyg/plugins/fileManager/handlers/Perl/rename_handler.pl | Perl | mit | 1,953 |
package DDG::Spice::Lastfm::Album;
# ABSTRACT: Display album info.
use strict;
use DDG::Spice;
spice to => 'http://ws.audioscrobbler.com/2.0/?format=json&method=album.getinfo&album=$1&autocorrect=1&artist=$2&api_key={{ENV{DDG_SPICE_LASTFM_APIKEY}}}&callback={{callback}}';
spice from => '(?:([^/]*)/([^/]*)|)';
trigge... | soleo/zeroclickinfo-spice | lib/DDG/Spice/Lastfm/Album.pm | Perl | apache-2.0 | 527 |
package DDG::Spice::Sports::MLB::Games;
# ABSTRACT: MLB Boxscores
use strict;
use DDG::Spice;
spice to => 'https://duckduckgo.com/sports.js?q=$1&callback={{callback}}';
triggers start => '///***never trigger***///';
handle remainder => sub {
return $_;
# return $_ if $_ && !exists $skip{lc $_};
return;
}... | soleo/zeroclickinfo-spice | lib/DDG/Spice/Sports/MLB/Games.pm | Perl | apache-2.0 | 326 |
package Test::Count::Parser;
use warnings;
use strict;
use base 'Test::Count::Base';
use File::Basename (qw(dirname));
use Parse::RecDescent;
=encoding utf8
=head1 NAME
Test::Count::Parser - A Parser for Test::Count.
=cut
our $VERSION = '0.0901';
sub _get_grammar
{
return <<'EOF';
update_count: expression... | gitpan/Test-Count | lib/Test/Count/Parser.pm | Perl | mit | 6,265 |
:- module(output, [output/1]).
:- use_module(library(irc_client)).
output(Msg) :-
thread_create(output_(Msg), _, [detached(true)]).
output_(Id-Msg) :-
Msg = msg(Prefix, Cmd, Params, Trailer),
format("~s: ~s ~s ~w ~s~n", [Id, Prefix, Cmd, Params, Trailer]).
output_(Id-Msg) :-
Msg = msg(Prefix, Cmd, Params),
\+... | eazar001/yesbot | extensions/output.pl | Perl | mit | 590 |
package Ort;
use strict 'vars';
use strict 'refs';
use Data::Dumper;
use File::Basename;
sub new {
my ($filename, $gene_identifying_feature, $format, $genome_codes) = @_;
die "Error: Ort.pm. GIF should be be gene or transcript" if(($gene_identifying_feature ne 'gene') && ($gene_identifying_feature ne 'transcript'));... | rhysf/Synima | modules/Ort.pm | Perl | mit | 14,932 |
=head1 NAME
SGN::Controller::AJAX::Search::GenotypingProtocol - a REST controller class to provide genotyping protocol search
=head1 DESCRIPTION
=head1 AUTHOR
=cut
package SGN::Controller::AJAX::Search::GenotypingProtocol;
use Moose;
use Data::Dumper;
use CXGN::People::Login;
use CXGN::Genotype::Protocol;
use C... | solgenomics/sgn | lib/SGN/Controller/AJAX/Search/GenotypingProtocol.pm | Perl | mit | 6,357 |
#!/usr/bin/perl
use strict;
use NF2::RegressLib;
use NF2::PacketLib;
use RegressRouterLib;
use reg_defines_reference_router;
my @interfaces = ("nf2c0", "nf2c1", "nf2c2", "nf2c3", "eth1", "eth2");
nftest_init(\@ARGV,\@interfaces,);
nftest_start(\@interfaces);
my $routerMAC0 = "00:ca:fe:00:00:01";
my $routerMAC1 = "0... | shkkgs/DE4-multicore-network-processor-with-multiple-hardware-monitors- | DE4_network_processor_4cores_6monitors_release/projects/DE4_Reference_Router_with_DMA/src/sources_ngnp_multicore/to_send/ngnp_added_monitor/ngnp/regress/test_lpm_next_hop/lpm_next_hop.pl | Perl | mit | 3,807 |
#/usr/bin/perl -w
# This script compares matrixes of contacts to check how similar the structures
# are. It compares all pairs from 1 to 8
my $Dir = "contacts";
for (my $i=1;$i<=8;$i++){
for (my $j=1;$j<8;$j++){
my $tot=0;
my $diff=0;
my $file1 = sprintf("${Dir}/res000%i.matrix",$i);
my $f... | insectopalo/snake-puzzle | lib/diff.pl | Perl | mit | 1,115 |
package Statistics::Basic::Vector;
use strict;
use warnings;
use Carp;
use Scalar::Util qw(blessed weaken looks_like_number);
our $tag_number = 0;
use Statistics::Basic;
use overload
'0+' => sub { croak "attempt to use vector as scalar numerical value" },
'""' => sub {
my $this = $_[0];
loca... | ppapasaikas/SANJUAN | perllib/Statistics/Basic/Vector.pm | Perl | mit | 6,574 |
package GD::Barcode::EAN8;
use strict;
BEGIN { eval{require 'GD.pm';}; };
use GD::Barcode;
require Exporter;
use vars qw($VERSION @ISA $errStr);
@ISA = qw(GD::Barcode Exporter);
$VERSION=1.10;
my $leftOddBar ={
'0' => '0001101',
'1' => '0011001',
'2' => '0010011',
'3' => '0111101',
'4' => '0100011',
'5' => '01100... | carlgao/lenga | images/lenny64-peon/usr/share/perl5/GD/Barcode/EAN8.pm | Perl | mit | 5,762 |
/* Facts */
status(sam, freshman).
status(jack, sophomore).
topic(sam, bio).
topic(sam, eng).
topic(jack, mat).
topic(jack, cse).
class(mat, calculus).
class(mat, algebra).
class(cse, algorithms).
class(cse, databases).
class(bio, taxonomy).
class(bio, evolution).
class(eng, reading).
class(eng, writing).
/* Rule *... | uzeio/CSE240 | 13 (Prolog:scheme)/students.pl | Perl | mit | 448 |
use CGI;
$q = CGI -> new;
print $q->redirect("index.cgi"); | fortesit/online-photo-album | Perl CGI version/index.pl | Perl | mit | 59 |
=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... | adamsardar/perl-libs-custom | EnsemblAPI/ensembl/modules/Bio/EnsEMBL/DBSQL/CoordSystemAdaptor.pm | Perl | apache-2.0 | 31,001 |
#
# (c) Jan Gehring <jan.gehring@gmail.com>
#
# vim: set ts=2 sw=2 tw=0:
# vim: set expandtab:
=head1 NAME
Rex::Commands::MD5 - Calculate MD5 sum of files
=head1 DESCRIPTION
With this module you calculate the md5 sum of a file.
This is just a helper function and will not be reported.
=head1 SYNOPSIS
my $md5 = m... | gitpan/Rex | lib/Rex/Commands/MD5.pm | Perl | apache-2.0 | 2,197 |
#
# 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 | apps/sccm/local/mode/databasereplicationstatus.pm | Perl | apache-2.0 | 9,766 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.