view release on metacpan or search on metacpan
configuration/dbconf/globalconf.pl view on Meta::CPAN
# and the DBI execute has returned with failure, then the rollback is in effect.
# The caller can always catch and check the return value of a DBI::BabyConnect method
# to see if it has failed a DBI execute. Typically DBI::BabyConnect methods return undef
# whenever a DBI execute fails and therefore the caller can check the return
# value and decide on whether to call the DBI::BabyConnect object method rollback himself or not,
# therefore allowing the caller to continue to work with the instance of DBI::BabyConnect object
# and its open DBI connection.
# Yet, you can configure the behavior of the DBI::BabyConnect object methods globally
# and tell the object methods to automatically rollback and exit on failure.
# This option is settable and will work only if AutoRollback is in effect for the
# DBI, because DBI::BabyConnect objects delegate all rollbacks to the DBI itself.
# DBI rollback is in effect if and only if:
# RaiseError is 0 (it should be off because otherwise the DBI would have exited earlier due to the error)
# AutoCommit is 0 (DBI will have no effect on rollback is AutoCommit is set to 1)
# DBI::BabyConnect will keep track of the success or failure of DBI execute(), hence deciding on
# what to do on failure.
#
# DBI will not exit if the conditions on the rollback are not met, but it will
# continue without effectively rolling back.
#
view all matches for this distribution
view release on metacpan or search on metacpan
Backhand.pm view on Meta::CPAN
=over 3
=item mtime
Last modification time of this stat structure (the last time we heard from
the server - used to decide if the server is alive)
=item arriba
Speed of the server
view all matches for this distribution
view release on metacpan or search on metacpan
All diary entries are stored as plain text files, there's no database
stuff going on here. This is to make it simple to add entries - any
editor can be used to write entries.
To use, decide on a directory which is to hold your weblog entries,
and set PerlHandler like in the example. The alias isn't nessasary,
but I like it that way.
Also in that directory need to be two template files, one called
entry-template.html, and one called older.html.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Apache/Bootstrap.pm view on Meta::CPAN
my $env = exists $ENV{MOD_PERL} ? $ENV{MOD_PERL} : 0;
# check for contradicting requirements
if ( $env && $flag && $flag != $env ) {
warn <<EOF;
Can\'t decide which mod_perl version should be used, since you have
supplied contradicting requirements:
enviroment variable MOD_PERL=$env
Makefile.PL option MOD_PERL=$flag
EOF
die;
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Module/Install.pm view on Meta::CPAN
use File::Path ();
use vars qw{$VERSION $MAIN};
BEGIN {
# All Module::Install core packages now require synchronised versions.
# This will be used to ensure we don't accidentally load old or
# different versions of modules.
# This is not enforced yet, but will be some time in the next few
# releases once we can make sure it won't clash with custom
# Module::Install extensions.
$VERSION = '1.00';
view all matches for this distribution
view release on metacpan or search on metacpan
Centipaid.pm view on Meta::CPAN
Centipaid.com offers websites the flexibility to charge small amounts
of money, also refered to as B<micropayment>, to users wishing to
access to their web services without the complexity of setting up
e-commerce enabled site, or to deal with expensive credit card
processing options. Users benefit from not having to reveal their
identity or credit card information everytime they decide to visit a
website. Instead, centipaid allows users to simply pay using
a pre-paid internet stamp, by simply uploading the stamp to centipaid's
site. The stamps are valid in all sites using centipaid.com payment
system.
Centipaid.pm view on Meta::CPAN
=item B<enforce_ip> 0
This tells the module if the website wants to tie
the receipt to a one ip. This may be requiered in
certain casees where the site admin decides that
access to the site is made only from the ip of
the machine that makes the payment, as long as the
machine also holds the receipt cookie. The valid
values are 0 for "do not restrict to ip", and 1
for "yes do restrict to the ip". If ommited, then
Centipaid.pm view on Meta::CPAN
==end
where B<rcpt> stores the recipt number, B<date> and B<expire> contain the date the
receipt was issued on the site, and its expiration. B<Paid> contains the amount paid
in float format. The B<IP> could be used in cases where the site admin decides to tie
a payment to an ip as well as a browser. We do not reommend this, since people use
proxy servers, and dynamic IPs. The B<zone> is used for statistical purposes, where
the website admin can see what sections are being used most.
view all matches for this distribution
view release on metacpan or search on metacpan
Compress.pm view on Meta::CPAN
}
sub can_gzip {
my $r = shift;
my $how_decide = $r->dir_config('CompressDecision');
if (!defined($how_decide) || lc($how_decide) eq 'header') {
return +($r->header_in('Accept-Encoding')||'') =~ /gzip/;
} elsif (lc($how_decide) eq 'user-agent') {
return guess_by_user_agent($r->header_in('User-Agent'));
}
die "Unrecognized value '$how_decide' specified for CompressDecision";
}
sub guess_by_user_agent {
# This comes from Andreas' Apache::GzipChain. It's very out of
# date, though, I'd like it if someone sent me a better regex.
Compress.pm view on Meta::CPAN
=head1 SYNOPSIS
PerlModule Apache::Compress
# Compress regular files - decides whether to compress by
# examining the Accept-Encoding header
<FilesMatch "\.blah$">
SetHandler perl-script
PerlHandler Apache::Compress
</FilesMatch>
view all matches for this distribution
view release on metacpan or search on metacpan
CompressClientFixup.pm view on Meta::CPAN
=head2 Microsoft Internet Explorer
Internet Explorer sometimes loses the first 2048 bytes of data
that are sent back by Web Servers that use HTTP compression,
- Microsoft confirms for MSIE 5.5 in Microsoft Knowledge Base Article - Q313712
(http://support.microsoft.com/default.aspx?scid=kb;en-us;Q313712).
The similiar statement about MSIE 6.0 is confirmed in Microsoft Knowledge Base Article - Q312496.
In accordance with Q313712 and Q312496, these bugs affect transmissions through
view all matches for this distribution
view release on metacpan or search on metacpan
Licenses are intended to guarantee your freedom to share and change
free software--to make sure the software is free for all its users.
This license, the Lesser General Public License, applies to some
specially designated software packages--typically libraries--of the
Free Software Foundation and other authors who decide to use it. You
can use it too, but we suggest you first think carefully about whether
this license or the ordinary General Public License is the better
strategy to use in any particular case, based on the explanations below.
When we speak of free software, we are referring to freedom of use,
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
view all matches for this distribution
view release on metacpan or search on metacpan
t/httpd02.conf view on Meta::CPAN
# Client Authentication (Type):
# Client certificate verification type and depth. Types are
# none, optional, require and optional_no_ca. Depth is a
# number which specifies how deeply to verify the certificate
# issuer chain before deciding the certificate is not valid.
#SSLVerifyClient require
#SSLVerifyDepth 10
# Access Control:
# With SSLRequire you can do per-directory access control based
view all matches for this distribution
view release on metacpan or search on metacpan
property right claims or to contest validity of any such claims; this section has
the sole purpose of protecting the integrity of the free software distribution
system, which is implemented by public license practices. Many people have
made generous contributions to the wide range of software distributed through
that system in reliance on consistent application of that system; it is up to the
author/donor to decide if he or she is willing to distribute software through any
other system and a licensee cannot impose that choice.
This section is intended to make thoroughly clear what is believed to be a
consequence of the rest of this License.
view all matches for this distribution
view release on metacpan or search on metacpan
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
view all matches for this distribution
view release on metacpan or search on metacpan
command before returning the actual handle to the user. Hence, with
Apache::DBI::Cache many the overall number of connections to a DB server
can be dramatically reduced.
HOW DOES IT WORK?
To decide whether to use Apache::DBI::Cache or not it is essential to
know how it works. As with Apache::DBI Apache::DBI::Cache uses a hook
provided by the DBI module to intercept "DBI->connect()" calls. Also do
Apache::DBI::Cache maintain a cache of active handles.
When a new connection is requested and the cache is empty a new
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Apache/AuthDBI.pm view on Meta::CPAN
=item * Auth_DBI_authoritative < on / off> (Authentication and Authorization)
Default is 'on'. When set 'on', there is no fall-through to other
authentication methods if the authentication check fails. When this directive
is set to 'off', control is passed on to any other authentication modules. Be
sure you know what you are doing when you decide to switch it off.
=item * Auth_DBI_nopasswd < on / off > (Authentication only)
Default is 'off'. When set 'on' the password comparison is skipped if the
password retrieved from the database is empty, i.e. allow any password.
This is 'off' by default to ensure that an empty Auth_DBI_pwd_field does not
allow people to log in with a random password. Be sure you know what you are
doing when you decide to switch it on.
=item * Auth_DBI_encrypted < on / off > (Authentication only)
Default is 'on'. When set to 'on', the password retrieved from the database
is assumed to be crypted. Hence the incoming password will be crypted before
view all matches for this distribution
view release on metacpan or search on metacpan
that should be provided before the module is installed.
A README file is required for CPAN modules since CPAN extracts the README
file from a module distribution so that people browsing the archive
can use it get an idea of the modules uses. It is usually a good idea
to provide version information here so that people can decide whether
fixes for the module are worth downloading.
INSTALLATION
To install this module, run the following commands:
view all matches for this distribution
view release on metacpan or search on metacpan
Licenses are intended to guarantee your freedom to share and change
free software--to make sure the software is free for all its users.
This license, the Lesser General Public License, applies to some
specially designated software packages--typically libraries--of the
Free Software Foundation and other authors who decide to use it. You
can use it too, but we suggest you first think carefully about whether
this license or the ordinary General Public License is the better
strategy to use in any particular case, based on the explanations below.
When we speak of free software, we are referring to freedom of use,
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
view all matches for this distribution
view release on metacpan or search on metacpan
A README file is required for CPAN modules since CPAN extracts the
README file from a module distribution so that people browsing the
archive can use it get an idea of the modules uses. It is usually a
good idea to provide version information here so that people can
decide whether fixes for the module are worth downloading.
INSTALLATION
To install this module type the following:
view all matches for this distribution
view release on metacpan or search on metacpan
lang/br.lang view on Meta::CPAN
'LOGIN_BUTTON' => 'Entrar',
'PAGE_LOGIN' => 'Página de Login',
'LOGIN_NOTE' => 'Nota: Configure seu Navegador para Aceitar Cooks para poder se logar. Sua Senha Será Solicitada depois de algum tempo.',
'IDLE_TIMEOUT' => 'Motivo da Desconexãoao: Tempo Esgotado',
'MALFORMED_TICKET' => 'Motivo da Desconexão: Ticket com Malformação',
'INVALID_HASH' => 'Motivo da Desconexão: Ticket Desconhecido',
'EXPIRED_TICKET' => 'Motivo da Desconexão: Ticket Expirou',
'MISSING_SECRET' => 'Motivo da Desconexão: Server secret não pode ser carregado',
'TAMPERED_HASH' => 'Motivo da Desconexão: Ticket dados alterados com',
'PASSWORD_CHANGE' => 'A senha só será alterada se você digitar algo nos campos abaixo.'
);
view all matches for this distribution
view release on metacpan or search on metacpan
Dynagzip.pm view on Meta::CPAN
use constant MIN_CHUNK_SIZE_PP_DEFAULT => 8192; # for no gzip case
use constant MAX_ATTEMPTS_TO_TRY_FLOCK => 10; # max limit seconds to sleep, waiting for flock()
use constant PAGE_LIFE_TIME_DEFAULT => 300; # sec
sub can_gzip_for_this_client {
# This is the only place where I decide whether or not the main request
# could be served with gzip compression.
# call model: my $can_gzip = can_gzip_for_this_client($r);
my $r = shift;
my $result = undef; # false is default
local $^W = 0; # no warnings when Accept-Encoding does not exist:
Dynagzip.pm view on Meta::CPAN
creation/compression, media data transmission, and the client side data
decompression/presentation in order to provide end users with the partially
displayed content as soon as it's possible in particular conditions of the
user's connection.
At the time we decided to go for dynamic compression there were no
appropriate software on the market. Even later in
February 2002 Nicholas Oxhøj wrote to the mod_perl mailing list about his
experience of finding Apache gzipper for the streaming outgoing content:
=for html
view all matches for this distribution
view release on metacpan or search on metacpan
ApacheSoftwareLicense view on Meta::CPAN
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Apache/Emulator/Apache.pm view on Meta::CPAN
}
sub headers_in {
my $self = shift;
# Create the headers table if necessary. Decided how to build it based on
# information here:
# http://cgi-spec.golux.com/draft-coar-cgi-v11-03-clean.html#6.1
#
# Try to get as much info as possible from CGI.pm, which has
# workarounds for things like the IIS PATH_INFO bug.
view all matches for this distribution
view release on metacpan or search on metacpan
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
view all matches for this distribution
view release on metacpan or search on metacpan
7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of ...
If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances.
It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution syst...
This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution ...
view all matches for this distribution
view release on metacpan or search on metacpan
property right claims or to contest validity of any such claims; this section has
the sole purpose of protecting the integrity of the free software distribution
system, which is implemented by public license practices. Many people have
made generous contributions to the wide range of software distributed through
that system in reliance on consistent application of that system; it is up to the
author/donor to decide if he or she is willing to distribute software through any
other system and a licensee cannot impose that choice.
This section is intended to make thoroughly clear what is believed to be a
consequence of the rest of this License.
view all matches for this distribution
view release on metacpan or search on metacpan
A new option has been added:
PerlSetVar GalleryCacheDir '/var/tmp/Apache-Gallery/'
GalleryCacheDir is optional but you can use it to decide
where Apache::Gallery should place the scaled pictures.
For users upgrading from 0.3 to 0.4:
Two new options have been added, they are both optional:
view all matches for this distribution
view release on metacpan or search on metacpan
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Apache/GzipChain.pm view on Meta::CPAN
config variable ForceGzip is set. To determine if the browser is able
to understand us we check its I<Accept-Encoding> header.
The module works without influencing the other handlers in the chain.
The only thing that can be noticed by other handlers is that the
response header 'Content-Encoding' has been set. If GzipChain decides
not to do any compression, it just declines and doesn't even register
itself for the output chain.
GzipChain compresses every single buffer content it receives via the
output chain separately according to the GZIP specification (RFC
view all matches for this distribution
view release on metacpan or search on metacpan
HTMLView.pm view on Meta::CPAN
## Update database if requested
if (defined $actions{$file}) {
$actions{$file}->($q,$r);
## Decide what to show next
$file=$q->param('_done');
if (!defined $file || lc($file) eq 'ref') {$file=$r->headers_in->{'Referer'};}
## Send client to that fmt
$r->header_out(Location=>$file);
view all matches for this distribution
view release on metacpan or search on metacpan
A README file is required for CPAN modules since CPAN extracts the
README file from a module distribution so that people browsing the
archive can use it get an idea of the modules uses. It is usually a
good idea to provide version information here so that people can
decide whether fixes for the module are worth downloading.
INSTALLATION
To install this module type the following:
view all matches for this distribution
view release on metacpan or search on metacpan
A README file is required for CPAN modules since CPAN extracts the
README file from a module distribution so that people browsing the
archive can use it get an idea of the modules uses. It is usually a
good idea to provide version information here so that people can
decide whether fixes for the module are worth downloading.
]
INSTALLATION
view all matches for this distribution