Result:
found more than 542 distributions - search limited to the first 2001 files matching your query ( run in 0.521 )


Apache2-SiteControl

 view release on metacpan or  search on metacpan

lib/Apache2/SiteControl.pm  view on Meta::CPAN


use 5.008;
use strict;
use warnings;
use Carp;
use Apache2::AuthCookie;
use Apache::Session::File;

our $VERSION = "1.05";

use base qw(Apache2::AuthCookie);

our %managers = ();

sub getCurrentUser
{

lib/Apache2/SiteControl.pm  view on Meta::CPAN

   my $r = shift;
   my $debug = $r->dir_config("SiteControlDebug") || 0;
   my $factory = $r->dir_config("SiteControlUserFactory") || "Apache2::SiteControl::UserFactory";
   my $auth_type = $r->auth_type;
   my $auth_name = $r->auth_name;
   my ($ses_key) = ($r->headers_in->{"Cookie"} || "") =~ /$auth_type\_$auth_name=([^;]+)/;

   $r->log_error("Session cookie: " . ($ses_key ? $ses_key:"UNSET")) if $debug;
   $r->log_error("Loading module $factory") if $debug;
   eval "require $factory" or $r->log_error("Could not load $factory: $@");
   $r->log_error("Using user factory $factory") if $debug;

 view all matches for this distribution


Apache2-TaintRequest

 view release on metacpan or  search on metacpan

lib/Apache2/TaintRequest.pm  view on Meta::CPAN

=over 15

=item Note:

This code is derived from the I<Apache::TaintRequest> module,
available as part of "The mod_perl Developer's Cookbook".

=back

One of the harder problems facing web developers involves dealing with
potential cross site scripting attacks.  Frequently this involves many

 view all matches for this distribution


Apache2-WURFLFilter

 view release on metacpan or  search on metacpan

lib/Apache2/AMFCommonLib.pm  view on Meta::CPAN

  }

  return %ArrayUAparse;

}
sub readCookie {
    my $self = shift;
    my $cookie_search;
	if (@_) {
		    $cookie_search = shift;
	}

 view all matches for this distribution


Apache2-WebApp-Extra-Admin

 view release on metacpan or  search on metacpan

usr/share/webapp-toolkit/extra/htdocs/admin/js/cookie.js  view on Meta::CPAN

 *
 *  Licensed under the terms of the BSD License
 *  http://www.opensource.org/licenses/bsd-license.php
 */

function getCookie(name) {
	var obj = document.cookie;
	var arg = name + "=";
	var beg = obj.indexOf("; " + arg);

	if (beg == -1) {

usr/share/webapp-toolkit/extra/htdocs/admin/js/cookie.js  view on Meta::CPAN

	}

	return unescape(obj.substring(beg + arg.length, end));
}

function setCookie(name, value, expires, path, domain, secure) {
	document.cookie = name + "="  + escape(value) +
		((expires) ? "; expires=" + expires.toGMTString() : "") +
		((path)    ? "; path="    + path                  : "") +
		((domain)  ? "; domain="  + domain                : "") +
		((secure)  ? "; secure"                           : "");
}

function delCookie(name) {
	var val = getCookie(name);
	var exp = new Date();

	exp.setTime (exp.getTime() - 1);

	document.cookie = name + "=" + val + "; expires=" + exp.toGMTString();

 view all matches for this distribution


Apache2-WebApp-Plugin-Cookie

 view release on metacpan or  search on metacpan

lib/Apache2/WebApp/Plugin/Cookie.pm  view on Meta::CPAN

#----------------------------------------------------------------------------+
#
#  Apache2::WebApp::Plugin::Cookie - Plugin providing HTTP cookie methods
#
#  DESCRIPTION
#  Common methods creating for manipulating web browser cookies.
#
#  AUTHOR

lib/Apache2/WebApp/Plugin/Cookie.pm  view on Meta::CPAN

#  This module is free software; you can redistribute it and/or
#  modify it under the same terms as Perl itself.
#
#----------------------------------------------------------------------------+

package Apache2::WebApp::Plugin::Cookie;

use strict;
use warnings;
use base 'Apache2::WebApp::Plugin';
use Apache2::Cookie;
use Params::Validate qw( :all );

our $VERSION = 0.10;

#~~~~~~~~~~~~~~~~~~~~~~~~~~[  OBJECT METHODS  ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#

lib/Apache2/WebApp/Plugin/Cookie.pm  view on Meta::CPAN

    unless ($domain) {
        $domain = $c->plugin('Filters')->strip_domain_alias( $c->config->{apache_domain} );
        $domain = ".$domain";     # set global across all domain aliases
    }

    my $cookie = Apache2::Cookie->new(
        $c->request,
        -name    => $vars->{name},
        -value   => $vars->{value},
        -expires => $expire,
        -path    => '/',

lib/Apache2/WebApp/Plugin/Cookie.pm  view on Meta::CPAN

      = validate_pos( @_,
          { type => OBJECT },
          { type => SCALAR }
          );

    my %cookie = Apache2::Cookie->fetch;

    return unless $cookie{$name};
    return $cookie{$name}->value;
}

lib/Apache2/WebApp/Plugin/Cookie.pm  view on Meta::CPAN

          { type => SCALAR  }
          );

    my $domain = $c->plugin('Filters')->strip_domain_alias( $c->config->{apache_domain} );

    my $cookie = Apache2::Cookie->new(
        $c->request,
        -name    => $name,
        -value   => '',
        -expires => '-24h',
        -path    => '/',

lib/Apache2/WebApp/Plugin/Cookie.pm  view on Meta::CPAN


__END__

=head1 NAME

Apache2::WebApp::Plugin::Cookie - Plugin providing HTTP cookie methods

=head1 SYNOPSIS

  my $obj = $c->plugin('Cookie')->method( ... );     # Apache2::WebApp::Plugin::Cookie->method()

    or

  $c->plugin('Cookie')->method( ... );

=head1 DESCRIPTION

Common methods for creating and manipulating web browser cookies.

lib/Apache2/WebApp/Plugin/Cookie.pm  view on Meta::CPAN


=head1 INSTALLATION

From source:

  $ tar xfz Apache2-WebApp-Plugin-Cookie-0.X.X.tar.gz
  $ perl MakeFile.PL PREFIX=~/path/to/custom/dir LIB=~/path/to/custom/lib
  $ make
  $ make test
  $ make install

Perl one liner using CPAN.pm:

  $ perl -MCPAN -e 'install Apache2::WebApp::Plugin::Cookie'

Use of CPAN.pm in interactive mode:

  $ perl -MCPAN -e shell
  cpan> install Apache2::WebApp::Plugin::Cookie
  cpan> quit

Just like the manual installation of Perl modules, the user may need root access during
this process to insure write permission is allowed within the installation directory.

lib/Apache2/WebApp/Plugin/Cookie.pm  view on Meta::CPAN


=head2 set

Set a new browser cookie.

  $c->plugin('Cookie')->set( $c, {
        name    => 'foo',
        value   => 'bar',
        expires => '24h',
        domain  => 'www.domain.com',    # optional
        secure  => 0,

lib/Apache2/WebApp/Plugin/Cookie.pm  view on Meta::CPAN


=head2 get

Return the browser cookie value.

  my $result = $c->plugin('Cookie')->get($name);

  # bar is value of $result

=head2 delete

Delete a browser cookie by name.

  $c->plugin('Cookie')->delete( \%controller, $name );

=head1 EXAMPLE

  package Example;

lib/Apache2/WebApp/Plugin/Cookie.pm  view on Meta::CPAN

  use warnings;

  sub _default {
      my ( $self, $c ) = @_;

      $c->plugin('Cookie')->set( $c, {
          name    => 'foo',
          value   => 'bar',
          expires => '1h',
          secure  => 0,
        });

lib/Apache2/WebApp/Plugin/Cookie.pm  view on Meta::CPAN

  sub verify {
      my ( $self, $c ) = @_;

      $c->request->content_type('text/html');

      print $c->plugin('Cookie')->get('foo');
  }

  1;

=head1 SEE ALSO

L<Apache2::WebApp>, L<Apache2::WebApp::Plugin>, L<Apache2::Cookie>

=head1 AUTHOR

Marc S. Brooks, E<lt>mbrooks@cpan.orgE<gt> - L<http://mbrooks.info>

 view all matches for this distribution


Apache2-WebApp-Plugin-Session-File

 view release on metacpan or  search on metacpan

lib/Apache2/WebApp/Plugin/Session/File.pm  view on Meta::CPAN


    my $id = $session{_session_id};

    untie %session;

    $c->plugin('Cookie')->set( $c, {
        name    => $name,
        value   => $id,
        expires => $c->config->{session_expires} || '24h',
      });

lib/Apache2/WebApp/Plugin/Session/File.pm  view on Meta::CPAN

    $self->error('Malformed session identifier')
      unless ( $arg =~ /^[\w-]{1,32}$/ );

    my $doc_root = $c->config->{apache_doc_root};

    my $cookie = $c->plugin('Cookie')->get($arg);

    my $id = ($cookie) ? $cookie : $arg;

    my %session;

lib/Apache2/WebApp/Plugin/Session/File.pm  view on Meta::CPAN

    $self->error('Malformed session identifier')
      unless ( $arg =~ /^[\w-]{32}$/ );

    my $doc_root = $c->config->{apache_doc_root};

    my $cookie = $c->plugin('Cookie')->get($arg);

    my $id = ($cookie) ? $cookie : $arg;

    my %session;

lib/Apache2/WebApp/Plugin/Session/File.pm  view on Meta::CPAN

      };

    unless ($@) {
        tied(%session)->delete;

        $c->plugin('Cookie')->delete( $c, $arg );
    }

    return;
}

lib/Apache2/WebApp/Plugin/Session/File.pm  view on Meta::CPAN

          );

    $self->error('Malformed session identifier')
      unless ( $arg =~ /^[\w-]{32}$/ );

    my $cookie = $c->plugin('Cookie')->get($arg);

    my $id = ($cookie) ? $cookie : $arg;

    my $doc_root = $c->config->{apache_doc_root};

lib/Apache2/WebApp/Plugin/Session/File.pm  view on Meta::CPAN

          );

    $self->error('Malformed session identifier')
      unless ( $name =~ /^[\w-]{32}$/ );

    return $c->plugin('Cookie')->get($name);
}

#~~~~~~~~~~~~~~~~~~~~~~~~~~[  PRIVATE METHODS  ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#

#----------------------------------------------------------------------------+

lib/Apache2/WebApp/Plugin/Session/File.pm  view on Meta::CPAN

This package is part of a larger distribution and was NOT intended to be used 
directly.  In order for this plugin to work properly, the following packages
must be installed:

  Apache2::WebApp
  Apache2::WebApp::Plugin::Cookie
  Apache2::WebApp::Plugin::Session
  Apache::Session::File
  Apache::Session::Lock::File
  Params::Validate

lib/Apache2/WebApp/Plugin/Session/File.pm  view on Meta::CPAN


Please refer to L<Apache2::WebApp::Plugin::Session> for method info.

=head1 SEE ALSO

L<Apache2::WebApp>, L<Apache2::WebApp::Plugin>, L<Apache2::WebApp::Plugin::Cookie>,
L<Apache2::WebApp::Plugin::Session>, L<Apache::Session>, L<Apache::Session::File>,
L<Apache::Session::Lock::File>

=head1 AUTHOR

 view all matches for this distribution


Apache2-WebApp-Plugin-Session-Memcached

 view release on metacpan or  search on metacpan

lib/Apache2/WebApp/Plugin/Session/Memcached.pm  view on Meta::CPAN


    my $id = $session{_session_id};

    untie %session;

    $c->plugin('Cookie')->set($c, {
        name    => $name,
        value   => $id,
        expires => $c->config->{session_expires} || '24h',
      });

lib/Apache2/WebApp/Plugin/Session/Memcached.pm  view on Meta::CPAN

      );

    $self->error('Malformed session identifier')
      unless ($name =~ /^[\w-]{1,32}$/);

    my $cookie = $c->plugin('Cookie')->get($name);

    my $id = $cookie ? $cookie : $name;

    my @servers   = $c->config->{memcached_servers};
    my $threshold = $c->config->{memcached_threshold} || 10_000;

lib/Apache2/WebApp/Plugin/Session/Memcached.pm  view on Meta::CPAN

      );

    $self->error('Malformed session identifier')
      unless ($name =~ /^[\w-]{1,32}$/);

    my $cookie = $c->plugin('Cookie')->get($name);

    my $id = $cookie ? $cookie : $name;

    my @servers   = $c->config->{memcached_servers};
    my $threshold = $c->config->{memcached_threshold} || 10_000;

lib/Apache2/WebApp/Plugin/Session/Memcached.pm  view on Meta::CPAN

      };

    unless ($@) {
        tied(%session)->delete;

        $c->plugin('Cookie')->delete($c, $name);
    }

    return;
}

lib/Apache2/WebApp/Plugin/Session/Memcached.pm  view on Meta::CPAN

      );

    $self->error('Malformed session identifier')
      unless ($name =~ /^[\w-]{1,32}$/);

    my $cookie = $c->plugin('Cookie')->get($name);

    my $id = $cookie ? $cookie : $name;

    my @servers   = $c->config->{memcached_servers};
    my $threshold = $c->config->{memcached_threshold} || 10_000;

lib/Apache2/WebApp/Plugin/Session/Memcached.pm  view on Meta::CPAN

      );

    $self->error('Malformed session identifier')
      unless ($name =~ /^[\w-]{1,32}$/);

    return $c->plugin('Cookie')->get($name);
}

#~~~~~~~~~~~~~~~~~~~~~~~~~~[  PRIVATE METHODS  ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#

#----------------------------------------------------------------------------+

lib/Apache2/WebApp/Plugin/Session/Memcached.pm  view on Meta::CPAN

This package is part of a larger distribution and was NOT intended to be used 
directly.  In order for this plugin to work properly, the following packages
must be installed:

  Apache2::WebApp
  Apache2::WebApp::Plugin::Cookie
  Apache2::WebApp::Plugin::Session
  Apache::Session::Memcached
  Apache::Session::Store::Memcached
  Params::Validate

lib/Apache2/WebApp/Plugin/Session/Memcached.pm  view on Meta::CPAN


Please refer to L<Apache2::WebApp::Plugin::Session> for method info.

=head1 SEE ALSO

L<Apache2::WebApp>, L<Apache2::WebApp::Plugin>, L<Apache2::WebApp::Plugin::Cookie>,
L<Apache2::WebApp::Plugin::Memcached>, L<Apache2::WebApp::Plugin::Session>,
L<Apache::Session>, L<Apache::Session::Memcached>

=head1 AUTHOR

 view all matches for this distribution


Apache2-WebApp-Plugin-Session-MySQL

 view release on metacpan or  search on metacpan

lib/Apache2/WebApp/Plugin/Session/MySQL.pm  view on Meta::CPAN


    my $id = $session{_session_id};

    untie %session;

    $c->plugin('Cookie')->set( $c, {
        name    => $name,
        value   => $id,
        expires => $c->config->{session_expires} || '24h',
      });

lib/Apache2/WebApp/Plugin/Session/MySQL.pm  view on Meta::CPAN

          );

    $self->error('Malformed session identifier')
      unless ( $arg =~ /^[\w-]{1,32}$/ );

    my $cookie = $c->plugin('Cookie')->get($arg);

    my $id = ($cookie) ? $cookie : $arg;

    my $dbh = $c->stash('DBH');     # use an existing connection

lib/Apache2/WebApp/Plugin/Session/MySQL.pm  view on Meta::CPAN

          );

    $self->error('Malformed session identifier')
      unless ( $arg =~ /^[\w-]{1,32}$/ );

    my $cookie = $c->plugin('Cookie')->get($arg);

    my $id = ($cookie) ? $cookie : $arg;

    my $dbh = $c->stash('DBH');     # use an existing connection

lib/Apache2/WebApp/Plugin/Session/MySQL.pm  view on Meta::CPAN

      };

    unless ($@) {
        tied(%session)->delete;

        $c->plugin('Cookie')->delete( $c, $arg );
    }

    return;
}

lib/Apache2/WebApp/Plugin/Session/MySQL.pm  view on Meta::CPAN

          );

    $self->error('Malformed session identifier')
      unless ( $arg =~ /^[\w-]{1,32}$/ );

    my $cookie = $c->plugin('Cookie')->get($arg);

    my $id = ($cookie) ? $cookie : $arg;

    my $dbh = $c->stash('DBH');     # use an existing connection

lib/Apache2/WebApp/Plugin/Session/MySQL.pm  view on Meta::CPAN

          );

    $self->error('Malformed session identifier')
      unless ( $name =~ /^[\w-]{1,32}$/ );

    return $c->plugin('Cookie')->get($name);
}

#~~~~~~~~~~~~~~~~~~~~~~~~~~[  PRIVATE METHODS  ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#

#----------------------------------------------------------------------------+

lib/Apache2/WebApp/Plugin/Session/MySQL.pm  view on Meta::CPAN

This package is part of a larger distribution and was NOT intended to be used 
directly.  In order for this plugin to work properly, the following packages
must be installed:

  Apache2::WebApp
  Apache2::WebApp::Plugin::Cookie
  Apache2::WebApp::Plugin::DBI
  Apache2::WebApp::Plugin::Session
  Params::Validate

=head1 INSTALLATION

lib/Apache2/WebApp/Plugin/Session/MySQL.pm  view on Meta::CPAN


Please refer to L<Apache2::WebApp::Session> for method info.

=head1 SEE ALSO

L<Apache2::WebApp>, L<Apache2::WebApp::Plugin>, L<Apache2::WebApp::Plugin::Cookie>,
L<Apache2::WebApp::Plugin::DBI>, L<Apache2::WebApp::Plugin::Session>,
L<Apache::Session>, L<Apache::Session::MySQL>, L<Apache::Session::Lock::MySQL>

=head1 AUTHOR

 view all matches for this distribution


Apache2-WebApp-Plugin-Session

 view release on metacpan or  search on metacpan

lib/Apache2/WebApp/Plugin/Session.pm  view on Meta::CPAN

This package is part of a larger distribution and was NOT intended to be used 
directly.  In order for this plugin to work properly, the following packages
must be installed:

  Apache2::WebApp
  Apache2::WebApp::Plugin::Cookie
  Apache::Session
  Params::Validate
  Switch

=head1 INSTALLATION

lib/Apache2/WebApp/Plugin/Session.pm  view on Meta::CPAN

Apache2::WebApp::Plugin::Session::Memcached
Apache2::WebApp::Plugin::Session::MySQL

=head1 SEE ALSO

L<Apache2::WebApp>, L<Apache2::WebApp::Plugin>, L<Apache2::WebApp::Plugin::Cookie>, 
L<Apache::Session>

=head1 AUTHOR

Marc S. Brooks, E<lt>mbrooks@cpan.orgE<gt> - L<http://mbrooks.info>

 view all matches for this distribution


Apache2-WebApp-Toolkit

 view release on metacpan or  search on metacpan

lib/Apache2/WebApp/Plugin.pm  view on Meta::CPAN


There are many plugins that provide additional functionality to your web application.

L<Apache2::WebApp::Plugin::CGI> - Common methods for dealing with HTTP requests.

L<Apache2::WebApp::Plugin::Cookie> - Common methods for creating and manipulating web browser cookies.

L<Apache2::WebApp::Plugin::DateTime> - Common methods for dealing with Date/Time.

L<Apache2::WebApp::Plugin::DBI> - Database interface wrapper for MySQL, PostGre, and Oracle.

 view all matches for this distribution


Apache2-WurflSimple

 view release on metacpan or  search on metacpan

lib/Apache2/WurflSimple.pm  view on Meta::CPAN

use Apache2::RequestRec;
use APR::Table;
use Apache2::Module ();
use Apache2::ServerUtil;
use Net::WURFL::ScientiaMobile;
use Net::WURFL::ScientiaMobile::Cache::Cookie;

# ABSTRACT:  module that the Wurfl Perl client to retrieve capabilities data from the Wurfl server

=pod

lib/Apache2/WurflSimple.pm  view on Meta::CPAN

	my $s = $r->server;
	my $dir_cfg = get_config($s, $r->per_dir_config);
	my $api_key = $dir_cfg->{WurflAPIKey};

	#load wurflcloud client library with cookie cache
	my $cache = Net::WURFL::ScientiaMobile::Cache::Cookie->new;
	my $scientiamobile = Net::WURFL::ScientiaMobile->new(
		api_key => $api_key,
		cache   => $cache,
	);

 view all matches for this distribution


Apache2-reCaptcha

 view release on metacpan or  search on metacpan

lib/Apache2/reCaptcha.pm  view on Meta::CPAN

sub make_login_screen {
    my ($self, $r, $action, $destination) = @_;

    if (DEBUGGING) {
        # log what we think is wrong.
        my $reason = $r->prev->subprocess_env("AuthCookieReason");
        $r->log_error("REASON FOR AUTH NEEDED: $reason");
        $reason = $r->prev->subprocess_env("AuthTicketReason");
        $r->log_error("AUTHTICKET REASON: $reason");
    }

lib/Apache2/reCaptcha.pm  view on Meta::CPAN

 PerlSetVar reCaptchaPublicKey biglongrandompublicstringfromrecaptchaproject
 PerlSetVar reCaptchaPrivateKey biglongandomprivatesringfromrecaptchaproject
 PerlSetVar reCaptchaHeaderTemplate /etc/apache2/recaptcha.header.inc
 PerlSetVar reCaptchaFooterTemplate /etc/apache2/recaptcha.footer.inc
 PerlSetVar reCaptchaLoginScript /reCaptchaloginform
 PerlSetVar reCaptchaCookieName reCaptcha
 #Having problems, tun on debugging
 #PerlSetVar AuthCookieDebug	5

 <Location /reCaptcha>
     AuthType Apache2::reCaptcha
     AuthName reCaptcha
     PerlAuthenHandler Apache2::reCaptcha->authenticate

 view all matches for this distribution


Apache2_4-AuthCookieMultiDBI

 view release on metacpan or  search on metacpan

lib/Apache2_4/AuthCookieMultiDBI.pm  view on Meta::CPAN

package Apache2_4::AuthCookieMultiDBI;

$VERSION = 0.04;
$DATE = "01 June 2018";

use strict;
use warnings;

use base qw( Apache2_4::AuthCookie );

use Date::Calc qw( Today_and_Now Add_Delta_DHMS );
use DBI;
use Digest::MD5 qw( md5_hex );
use English qw(-no_match_vars);

lib/Apache2_4/AuthCookieMultiDBI.pm  view on Meta::CPAN

# P E R L D O C
#===============================================================================

=head1 NAME

Apache2_4::AuthCookieMultiDBI - An AuthCookie module backed by a DBI database for apache 2.4.

=head1 VERSION

    This is version 0.4

lib/Apache2_4/AuthCookieMultiDBI.pm  view on Meta::CPAN

    # If you choose to use Apache::DBI then the following directive must come
    # before all other modules using DBI - just uncomment the next line:
    #PerlModule Apache::DBI  
   
     
    PerlModule Apache2_4::AuthCookieHandler
    PerlSetVar WhatEverPath /
    PerlSetVar WhatEverLoginScript /login.pl

    # Optional, to share tickets between servers.
    PerlSetVar WhatEverDomain .domain.com

lib/Apache2_4/AuthCookieMultiDBI.pm  view on Meta::CPAN

    PerlSetVar WhatEverDBI_SessionLifetime 00-24-00-00
    perlSetVar WhatEverDBI_URIRegx "^/(.+)/(.+)$" # if have uri pattran like /client_id/file_name.pl
    perlSetVar WhatEverDBI_URIClientPos 0 # client_id position in uri
    perlSetVar WhatEverDBI_LoadClientDB 1 # do you have seperate database for each cleint

    # Protected by AuthCookieDBI.
    <Directory /www/domain.com/protected>
        AuthName WhatEver
        AuthType Apache2_4::AuthCookieMultiDBI
        PerlAuthenHandler Apache2_4::AuthCookieMultiDBI->authenticate
        require valid-user
    </Directory>

    # Login location.
    <Files LOGIN>
        AuthType Apache2_4::AuthCookieMultiDBI
        AuthName WhatEver
        SetHandler perl-script
        PerlResponseHandler Apache2_4::AuthCookieMultiDBI->login

        # If the directopry you are protecting is the DocumentRoot directory
        # then uncomment the following directive:
        #Satisfy any
    </Files>

=head1 DESCRIPTION

This module is an authentication handler that uses the basic mechanism provided
by Apache2_4::AuthCookie with a DBI database for ticket-based protection. Actually
it is modified version of L<Apache2::AuthCookieDBI> for apache 2.4. It
is based on two tokens being provided, a username and password, which can
be any strings (there are no illegal characters for either).  The username is
used to set the remote user as if Basic Authentication was used.

On an attempt to access a protected location without a valid cookie being

lib/Apache2_4/AuthCookieMultiDBI.pm  view on Meta::CPAN

#===============================================================================
# O V E R R I D   F U N C T I O N S
#===============================================================================

#-------------------------------------------------------------------------------
# authen_ses_key -- Overrid authen_ses_key method from Apache2_4::AuthCookie
# 
sub authen_ses_key ($$$) {
    my ( $self, $r, $encrypted_session_key ) = @_;

    my $auth_name = $r->auth_name;

lib/Apache2_4/AuthCookieMultiDBI.pm  view on Meta::CPAN

    return $user;

}

#-------------------------------------------------------------------------------
# authen_cred -- Overrid authen_cred method from Apache2_4::AuthCookie
# 
sub authen_cred ($$\@) {
    my $self = shift;
    my $r = shift;
    my $user = shift;

lib/Apache2_4/AuthCookieMultiDBI.pm  view on Meta::CPAN

If this doesn't work, let me know and I'll fix the code. Or by all means send a patch.
Please don't just post a bad review on CPAN.

=head1 SEE ALSO

L<Apache2::AuthCookieDBI>: L<Apache2_4::AuthCookie>.

=head1 AUTHOR

berlin3, details -at- cpan -dot- org.

 view all matches for this distribution


ApacheBench

 view release on metacpan or  search on metacpan

lib/HTTPD/Bench/ApacheBench.pm  view on Meta::CPAN

    ({ urls => ["http://localhost/one", "http://localhost/two"] });
  $b->add_run($run1);

  my $run2 = HTTPD::Bench::ApacheBench::Run->new
    ({ urls    => ["http://localhost/three", "http://localhost/four"],
       cookies => ["Login_Cookie=b3dcc9bac34b7e60;"],
       # note: manual cookies no longer necessary due to use_auto_cookies (enabled by default)
       order   => "depth_first",
       repeat  => 10,
       memory  => 2 });
  $b->add_run($run2);

lib/HTTPD/Bench/ApacheBench.pm  view on Meta::CPAN

(default: B<1>, or whatever is specified in global configuration)

=item $run->use_auto_cookies( 0|1 )

Controls whether to enable dynamic setting of cookies based on previous
response headers in this run.  If set, will parse the Set-Cookie: headers
in each response in the run, and set the corresponding Cookie: headers in
all subsequent requests in this run.  (basically a crude, but fast emulation
of a browser's cookie handling mechanism)  The cookies are cumulative for
each iteration of the run, so they will accumulate with each request/response
pair until the next iteration, when they get reset.

(default: B<1>)

=item $run->cookies( \@cookies )

Set any extra HTTP Cookie: headers for each B<repetition> of this run.
Length of @cookies should equal $n (whatever you set $run->repeat to).
If this option is omitted, only auto-set cookies will be sent in
requests for this run.

If you need to set different cookies within a single URL sequence, use

 view all matches for this distribution


ApacheCookieEncrypted

 view release on metacpan or  search on metacpan

Encrypted.pm  view on Meta::CPAN

package Apache::Cookie::Encrypted;
#use Apache::Cookie;
use base qw(Apache::Cookie);

require Apache;

use strict;
use warnings;

Encrypted.pm  view on Meta::CPAN

        }
    }

    # load in options supplied to new()
    for (my $x = 0; $x <= $#new_args; $x += 2) {
        defined($args[($x + 1)]) or croak("Apache::Cookie::Encrypted->new() called with odd number of".
                                          " option parameters - should be of the form -option => value");

        $params->{lc($new_args[$x])} = $new_args[($x + 1)];
    }

Encrypted.pm  view on Meta::CPAN

    unless ($key) {
	if (exists($params->{-key})) {
	    $key = $params->{-key};
	    delete $params->{-key};
	} else {
	    croak "No key defined - key must be defined for Apache::Cookie::Encrypted to work\n";
	}
    }

    my $self = $class->SUPER::new($r);

Encrypted.pm  view on Meta::CPAN

    # return the blessed object
    return bless $self, $class;

}

sub Apache::Cookie::Encrypted::value {
    my $self = shift;

    my $data = shift || undef;

    if ($data) {

Encrypted.pm  view on Meta::CPAN

        my $data_out = &_decrypt_data( $data_in );
        return wantarray ? @$data_out : $data_out;
    }
}

sub Apache::Cookie::Encrypted::parse {
    my $self = shift;

    my $data = shift || undef;
    my %parsed;

Encrypted.pm  view on Meta::CPAN

    }

    return wantarray ? %new_parsed : \%new_parsed;
}

sub Apache::Cookie::Encrypted::fetch {
    my $self = shift;

    my %fetched = $self->SUPER::fetch();

    my %enc_fetch_translated;

Encrypted.pm  view on Meta::CPAN


__END__

=head1 NAME

Apache::Cookie::Encrypted - Encrypted HTTP Cookies Class

=head1 SYNOPSIS

  use Apache::Cookie::Encrypted;
  my $cookie = Apache::Cookie::Encrypted->new($r, ...); 

=head1 DESCRIPTION

The Apache::Cookie::Encrypted module is a class derived from Apache::Cookie.
It creates a cookie with its contents encrypted with Crypt::Blowfish.

=head1 METHODS

This interface is identical to the I<Apache::Cookie> interface with a couple of
exceptions. Refer to the I<Apache::Cookie> documentation while these docs
are being refined.

You'll notice that the documentation is pretty much the same as I<Apache::Cookie's>.
It is. I took most of the documentation and put it here for your convienience.

=over 4

=item new 

Just like Apache::Cookie->new(), it also requires an I<Apache> object 
but also can take an I<Apache::Request> object:

    my $cookie = Apache::Cookie::Encrypted->new($r,
						-key     =>  $key,
						-name    =>  'foo',
						-value   =>  'bar',
						-expires =>  '+3M',
						-domain  =>  '.myeboard.com',

Encrypted.pm  view on Meta::CPAN


B<Make sure you do define a key or else the module will croak.>

=item bake

This is the same bake method in I<Apache::Cookie>.

    $cookie->bake;

=item parse

This method parses the given string if present, otherwise, the incoming Cookie header:

    my $cookies = $cookie->parse; #hash ref

    my %cookies = $cookie->parse;

    my %cookies = $cookie->parse($cookie_string);

=item fetch

Fetch and parse incoming I<Cookie> header:

    my $cookies = Apache::Cookie::Encrypted->fetch; # hash ref
    my %cookies = Apache::Cookie::Encrypted->fetch; # plain hash

The value will be decrypted upon call to $cookie->value.

=item as_string

Format the cookie object as a string:

    #same as $cookie->bake
    $r->err_headers_out->add("Set-Cookie" => $cookie->as_string);

=item name

Get or set the name of the cookie:

Encrypted.pm  view on Meta::CPAN

    my @value = $cookie->value;

    $cookie->value("string");
    $cookie->value(\@array);

Just like in I<Apache::Cookie> except that the contents are encrypted
and decrypted automaticaly with the key defined in the constructor or
set within httpd.conf as a PerlSetVar.

B<Remember the key must be set in the constructor or in the httpd.conf
file for this module to work. It wil complain if its not set.>

Encrypted.pm  view on Meta::CPAN


=back

=head1 SEE ALSO

I<Apache>(3), I<Apache::Cookie>(3), I<Apache::Request>(3)

=head1 AUTHOR

Jamie Krasnoo<jkrasnoo@socal.rr.com>

=head1 CREDITS

Apache::Cookie - docs and modules - Doug MacEachern
Crypt::CBC - Lincoln Stein, lstein@cshl.org
Crypt::Blowfish - Dave Paris <amused@pobox.com> and those mentioned in the module.

=cut

 view all matches for this distribution


App-Adenosine

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

    powerful shell tools, such as perl, awk, grep, sed, etc. You can use
    adenosine in pipelines to process data from REST services, and PUT or
    POST the data right back. You can even pipe the data in and then edit
    it interactively in your text editor prior to PUT or POST.

    Cookies are supported automatically and stored in a file locally. Most
    of the arguments are remembered from one call to the next to save
    typing. It has pretty good defaults for most purposes. Additionally,
    adenosine allows you to easily provide your own options to be passed
    directly to curl, so even the most complex requests can be accomplished
    with the minimum amount of command line pain.

 view all matches for this distribution


App-BPOMUtils-Table-FoodCategory

 view release on metacpan or  search on metacpan

lib/App/BPOMUtils/Table/FoodCategory.pm  view on Meta::CPAN

    "Minyak goreng (frying oil atau frying fat) adalah minyak dan lemak yang digunakan untuk menggoreng yang diperoleh dari proses rafinasi /pemurnian (refining/purifying) minyak nabati, dalam bentuk tunggal atau campuran.",
    "Tidak Aktif",
  ],
  [
    "02010205",
    "Minyak Masak atau Minyak Sayur (Cooking Oil)",
    "Minyak masak atau minyak sayur (cooking oil) adalah minyak yang digunakan untuk memasak (seperti menumis atau shallow frying/stirfry/ pan frying), diperoleh dari proses rafinasi /pemurnian minyak nabati, dapat berasal dari sumber tunggal atau ca...
    "Aktif",
  ],
  [
    "02010206",

lib/App/BPOMUtils/Table/FoodCategory.pm  view on Meta::CPAN

    "Premiks untuk roti dan produk bakeri tawar adalah campuran bahan kering yang bisa ditambahkan dengan ingredien basah (seperti air, susu, minyak, mentega, telur) untuk membuat adonan untuk produk bakeri dari kategori 07.1.1, 07.1.2, 07.1.3, 07.1....
    "Aktif",
  ],
  [
    "07020101",
    "Keik (Cake), Kukis (Cookies) dan Pai (Pie)",
    "Keik (cake), kukis (cookies) dan pai (pie) adalah produk bakeri yang dapat digunakan sebagai hidangan penutup atau pencuci mulut.",
    "Aktif",
  ],
  [
    "07020102",

lib/App/BPOMUtils/Table/FoodCategory.pm  view on Meta::CPAN

    "Biskuit non terigu adalah produk bakeri kering yang dibuat dengan cara memanggang adonan yang terbuat dari non terigu, minyak/lemak, dengan atau tanpa penambahan bahan pangan lain.<br> Nama jenis untuk produk ini, misalnya biskuit beras, biskuit...
    "Aktif",
  ],
  [
    "07020133",
    "Kukis Lunak (Soft Cookies)",
    "Kukis lunak adalah jenis kukis yang bertekstur lunak.<br> Karakteristik dasar :<br> Kadar air berkisar lebih dari 5 % dan tidak lebih dari 10 %",
    "Aktif",
  ],
  [
    "07020134",

 view all matches for this distribution


App-BPOMUtils-Table-FoodType

 view release on metacpan or  search on metacpan

lib/App/BPOMUtils/Table/FoodType.pm  view on Meta::CPAN

  ["050", "Susu Bubuk"],
  ["078", "Ghee"],
  ["079", "Virgin Oil"],
  ["080", "Cold Pressed Oils"],
  ["081", "Minyak Goreng (Frying Oil atau frying fat)"],
  ["082", "Minyak Masak atau Minyak Sayur (Cooking Oil)"],
  ["083", "Minyak Salad"],
  ["084", "Minyak serbuk"],
  ["085", "Vanaspati atau Minyak Samin (Vegetable Ghee)"],
  ["086", "Lemak Reroti (Shortening)"],
  ["087", "Pengganti Minyak mentega (Butter Oil Substitute)"],

 view all matches for this distribution


App-BPOMUtils-Table-MicrobeInput

 view release on metacpan or  search on metacpan

lib/App/BPOMUtils/Table/MicrobeInput.pm  view on Meta::CPAN

    "\x{2264}10000",
    "\x{2264}100",
  ],
  [
    3394,
    "Keik (Cake), Kukis (Cookies) dan Pai (Pie) (07020101)",
    "Salmonella (/25 g)",
  ],
  [
    3395,
    "Keik (Cake), Kukis (Cookies) dan Pai (Pie) (07020101)",
    "Jumlah Sampel - Salmonella",
  ],
  [
    3396,
    "Keik (Cake), Kukis (Cookies) dan Pai (Pie) (07020101)",
    "Staphylococcus aureus (koloni/g)",
    "\x{2264}10000",
    "\x{2264}100",
  ],
  [
    3397,
    "Keik (Cake), Kukis (Cookies) dan Pai (Pie) (07020101)",
    "Staphylococcus aureus (koloni/g)",
    "\x{2264}10000",
    "\x{2264}100",
  ],
  [
    3398,
    "Keik (Cake), Kukis (Cookies) dan Pai (Pie) (07020101)",
    "Staphylococcus aureus (koloni/g)",
    "\x{2264}10000",
    "\x{2264}100",
  ],
  [
    3399,
    "Keik (Cake), Kukis (Cookies) dan Pai (Pie) (07020101)",
    "Staphylococcus aureus (koloni/g)",
    "\x{2264}10000",
    "\x{2264}100",
  ],
  [
    3400,
    "Keik (Cake), Kukis (Cookies) dan Pai (Pie) (07020101)",
    "Staphylococcus aureus (koloni/g)",
    "\x{2264}10000",
    "\x{2264}100",
  ],
  [

lib/App/BPOMUtils/Table/MicrobeInput.pm  view on Meta::CPAN

    "\x{2264}10000",
    "\x{2264}100",
  ],
  [
    4716,
    "Kukis Lunak (Soft Cookies) (07020133)",
    "Salmonella (/25 g)",
  ],
  [
    4717,
    "Kukis Lunak (Soft Cookies) (07020133)",
    "Jumlah Sampel - Salmonella",
  ],
  [
    4718,
    "Kukis Lunak (Soft Cookies) (07020133)",
    "Staphylococcus aureus (koloni/g)",
    "\x{2264}10000",
    "\x{2264}100",
  ],
  [
    4719,
    "Kukis Lunak (Soft Cookies) (07020133)",
    "Staphylococcus aureus (koloni/g)",
    "\x{2264}10000",
    "\x{2264}100",
  ],
  [
    4720,
    "Kukis Lunak (Soft Cookies) (07020133)",
    "Staphylococcus aureus (koloni/g)",
    "\x{2264}10000",
    "\x{2264}100",
  ],
  [
    4721,
    "Kukis Lunak (Soft Cookies) (07020133)",
    "Staphylococcus aureus (koloni/g)",
    "\x{2264}10000",
    "\x{2264}100",
  ],
  [
    4722,
    "Kukis Lunak (Soft Cookies) (07020133)",
    "Staphylococcus aureus (koloni/g)",
    "\x{2264}10000",
    "\x{2264}100",
  ],
  [4723, "Kukis Oatmeal (07020117)", "Salmonella (/25 g)"],

 view all matches for this distribution


App-BPOMUtils-Table

 view release on metacpan or  search on metacpan

lib/App/BPOMUtils/Table/FoodCategory.pm  view on Meta::CPAN

    "Minyak goreng (frying oil atau frying fat) adalah minyak dan lemak yang digunakan untuk menggoreng yang diperoleh dari proses rafinasi /pemurnian (refining/purifying) minyak nabati, dalam bentuk tunggal atau campuran.",
    "Tidak Aktif",
  ],
  [
    "02010205",
    "Minyak Masak atau Minyak Sayur (Cooking Oil)",
    "Minyak masak atau minyak sayur (cooking oil) adalah minyak yang digunakan untuk memasak (seperti menumis atau shallow frying/stirfry/ pan frying), diperoleh dari proses rafinasi /pemurnian minyak nabati, dapat berasal dari sumber tunggal atau ca...
    "Aktif",
  ],
  [
    "02010206",

lib/App/BPOMUtils/Table/FoodCategory.pm  view on Meta::CPAN

    "Premiks untuk roti dan produk bakeri tawar adalah campuran bahan kering yang bisa ditambahkan dengan ingredien basah (seperti air, susu, minyak, mentega, telur) untuk membuat adonan untuk produk bakeri dari kategori 07.1.1, 07.1.2, 07.1.3, 07.1....
    "Aktif",
  ],
  [
    "07020101",
    "Keik (Cake), Kukis (Cookies) dan Pai (Pie)",
    "Keik (cake), kukis (cookies) dan pai (pie) adalah produk bakeri yang dapat digunakan sebagai hidangan penutup atau pencuci mulut.",
    "Aktif",
  ],
  [
    "07020102",

lib/App/BPOMUtils/Table/FoodCategory.pm  view on Meta::CPAN

    "Biskuit non terigu adalah produk bakeri kering yang dibuat dengan cara memanggang adonan yang terbuat dari non terigu, minyak/lemak, dengan atau tanpa penambahan bahan pangan lain.<br> Nama jenis untuk produk ini, misalnya biskuit beras, biskuit...
    "Aktif",
  ],
  [
    "07020133",
    "Kukis Lunak (Soft Cookies)",
    "Kukis lunak adalah jenis kukis yang bertekstur lunak.<br> Karakteristik dasar :<br> Kadar air berkisar lebih dari 5 % dan tidak lebih dari 10 %",
    "Aktif",
  ],
  [
    "07020134",

 view all matches for this distribution


App-BPOMUtils

 view release on metacpan or  search on metacpan

lib/App/BPOMUtils/Table.pm  view on Meta::CPAN

  ["050", "Susu Bubuk"],
  ["078", "Ghee"],
  ["079", "Virgin Oil"],
  ["080", "Cold Pressed Oils"],
  ["081", "Minyak Goreng (Frying Oil atau frying fat)"],
  ["082", "Minyak Masak atau Minyak Sayur (Cooking Oil)"],
  ["083", "Minyak Salad"],
  ["084", "Minyak serbuk"],
  ["085", "Vanaspati atau Minyak Samin (Vegetable Ghee)"],
  ["086", "Lemak Reroti (Shortening)"],
  ["087", "Pengganti Minyak mentega (Butter Oil Substitute)"],

lib/App/BPOMUtils/Table.pm  view on Meta::CPAN

    "Minyak goreng (frying oil atau frying fat) adalah minyak dan lemak yang digunakan untuk menggoreng yang diperoleh dari proses rafinasi /pemurnian (refining/purifying) minyak nabati, dalam bentuk tunggal atau campuran.",
    "Tidak Aktif",
  ],
  [
    "02010205",
    "Minyak Masak atau Minyak Sayur (Cooking Oil)",
    "Minyak masak atau minyak sayur (cooking oil) adalah minyak yang digunakan untuk memasak (seperti menumis atau shallow frying/stirfry/ pan frying), diperoleh dari proses rafinasi /pemurnian minyak nabati, dapat berasal dari sumber tunggal atau ca...
    "Aktif",
  ],
  [
    "02010206",

lib/App/BPOMUtils/Table.pm  view on Meta::CPAN

    "Premiks untuk roti dan produk bakeri tawar adalah campuran bahan kering yang bisa ditambahkan dengan ingredien basah (seperti air, susu, minyak, mentega, telur) untuk membuat adonan untuk produk bakeri dari kategori 07.1.1, 07.1.2, 07.1.3, 07.1....
    "Aktif",
  ],
  [
    "07020101",
    "Keik (Cake), Kukis (Cookies) dan Pai (Pie)",
    "Keik (cake), kukis (cookies) dan pai (pie) adalah produk bakeri yang dapat digunakan sebagai hidangan penutup atau pencuci mulut.",
    "Aktif",
  ],
  [
    "07020102",

lib/App/BPOMUtils/Table.pm  view on Meta::CPAN

    "Biskuit non terigu adalah produk bakeri kering yang dibuat dengan cara memanggang adonan yang terbuat dari non terigu, minyak/lemak, dengan atau tanpa penambahan bahan pangan lain.<br> Nama jenis untuk produk ini, misalnya biskuit beras, biskuit...
    "Aktif",
  ],
  [
    "07020133",
    "Kukis Lunak (Soft Cookies)",
    "Kukis lunak adalah jenis kukis yang bertekstur lunak.<br> Karakteristik dasar :<br> Kadar air berkisar lebih dari 5 % dan tidak lebih dari 10 %",
    "Aktif",
  ],
  [
    "07020134",

lib/App/BPOMUtils/Table.pm  view on Meta::CPAN

    "\x{2264}10000",
    "\x{2264}100",
  ],
  [
    3394,
    "Keik (Cake), Kukis (Cookies) dan Pai (Pie) (07020101)",
    "Salmonella (/25 g)",
  ],
  [
    3395,
    "Keik (Cake), Kukis (Cookies) dan Pai (Pie) (07020101)",
    "Jumlah Sampel - Salmonella",
  ],
  [
    3396,
    "Keik (Cake), Kukis (Cookies) dan Pai (Pie) (07020101)",
    "Staphylococcus aureus (koloni/g)",
    "\x{2264}10000",
    "\x{2264}100",
  ],
  [
    3397,
    "Keik (Cake), Kukis (Cookies) dan Pai (Pie) (07020101)",
    "Staphylococcus aureus (koloni/g)",
    "\x{2264}10000",
    "\x{2264}100",
  ],
  [
    3398,
    "Keik (Cake), Kukis (Cookies) dan Pai (Pie) (07020101)",
    "Staphylococcus aureus (koloni/g)",
    "\x{2264}10000",
    "\x{2264}100",
  ],
  [
    3399,
    "Keik (Cake), Kukis (Cookies) dan Pai (Pie) (07020101)",
    "Staphylococcus aureus (koloni/g)",
    "\x{2264}10000",
    "\x{2264}100",
  ],
  [
    3400,
    "Keik (Cake), Kukis (Cookies) dan Pai (Pie) (07020101)",
    "Staphylococcus aureus (koloni/g)",
    "\x{2264}10000",
    "\x{2264}100",
  ],
  [

lib/App/BPOMUtils/Table.pm  view on Meta::CPAN

    "\x{2264}10000",
    "\x{2264}100",
  ],
  [
    4716,
    "Kukis Lunak (Soft Cookies) (07020133)",
    "Salmonella (/25 g)",
  ],
  [
    4717,
    "Kukis Lunak (Soft Cookies) (07020133)",
    "Jumlah Sampel - Salmonella",
  ],
  [
    4718,
    "Kukis Lunak (Soft Cookies) (07020133)",
    "Staphylococcus aureus (koloni/g)",
    "\x{2264}10000",
    "\x{2264}100",
  ],
  [
    4719,
    "Kukis Lunak (Soft Cookies) (07020133)",
    "Staphylococcus aureus (koloni/g)",
    "\x{2264}10000",
    "\x{2264}100",
  ],
  [
    4720,
    "Kukis Lunak (Soft Cookies) (07020133)",
    "Staphylococcus aureus (koloni/g)",
    "\x{2264}10000",
    "\x{2264}100",
  ],
  [
    4721,
    "Kukis Lunak (Soft Cookies) (07020133)",
    "Staphylococcus aureus (koloni/g)",
    "\x{2264}10000",
    "\x{2264}100",
  ],
  [
    4722,
    "Kukis Lunak (Soft Cookies) (07020133)",
    "Staphylococcus aureus (koloni/g)",
    "\x{2264}10000",
    "\x{2264}100",
  ],
  [4723, "Kukis Oatmeal (07020117)", "Salmonella (/25 g)"],

lib/App/BPOMUtils/Table.pm  view on Meta::CPAN

  [4998, "Keik (Cake) (07020102)", "Raksa (Hg) (mg/kg)", "=0.05"],
  [4999, "Keik (Cake) (07020102)", "Timah (Sn) (mg/kg)", "=40"],
  [5000, "Keik (Cake) (07020102)", "Timbal (Pb) (mg/kg)", "=0.5"],
  [
    5001,
    "Keik (Cake), Kukis (Cookies) dan Pai (Pie) (07020101)",
    "Arsen (As) (mg/kg)",
    "=0.5",
  ],
  [
    5002,
    "Keik (Cake), Kukis (Cookies) dan Pai (Pie) (07020101)",
    "Kadmium (Cd) (mg/kg)",
    "=0.2",
  ],
  [
    5003,
    "Keik (Cake), Kukis (Cookies) dan Pai (Pie) (07020101)",
    "Raksa (Hg) (mg/kg)",
    "=0.05",
  ],
  [
    5004,
    "Keik (Cake), Kukis (Cookies) dan Pai (Pie) (07020101)",
    "Timah (Sn) (mg/kg)",
    "=40",
  ],
  [
    5005,
    "Keik (Cake), Kukis (Cookies) dan Pai (Pie) (07020101)",
    "Timbal (Pb) (mg/kg)",
    "=0.5",
  ],
  [
    5006,

lib/App/BPOMUtils/Table.pm  view on Meta::CPAN

  [6518, "Kukis Gula (07020116)", "Timah (Sn) (mg/kg)", "=40"],
  [6519, "Kukis Gula (07020116)", "Timbal (Pb) (mg/kg)", "=0.5"],
  [6520, "Kukis Gula (07020116)", "Kadar air (%)", "=5"],
  [
    6521,
    "Kukis Lunak (Soft Cookies) (07020133)",
    "Kadar air (%)",
    "=14.5",
    "=5",
  ],
  [
    6522,
    "Kukis Lunak (Soft Cookies) (07020133)",
    "Arsen (As) (mg/kg)",
    "=0.5",
  ],
  [
    6523,
    "Kukis Lunak (Soft Cookies) (07020133)",
    "Kadmium (Cd) (mg/kg)",
    "=0.2",
  ],
  [
    6524,
    "Kukis Lunak (Soft Cookies) (07020133)",
    "Raksa (Hg) (mg/kg)",
    "=0.05",
  ],
  [
    6525,
    "Kukis Lunak (Soft Cookies) (07020133)",
    "Timah (Sn) (mg/kg)",
    "=40",
  ],
  [
    6526,
    "Kukis Lunak (Soft Cookies) (07020133)",
    "Timbal (Pb) (mg/kg)",
    "=0.5",
  ],
  [6527, "Kukis Oatmeal (07020117)", "Arsen (As) (mg/kg)", "=0.5"],
  [

lib/App/BPOMUtils/Table.pm  view on Meta::CPAN

    "Timbal (Pb) (ppm atau mg/kg)",
    "=0.1",
  ],
  [
    8504,
    "Minyak Masak atau Minyak Sayur (Cooking Oil) (02010205)",
    "Kadar air (%)",
    "=0.15",
  ],
  [
    8505,
    "Minyak Masak atau Minyak Sayur (Cooking Oil) (02010205)",
    "Kadar asam lemak bebas (%)",
    "=0.3",
  ],
  [
    8506,
    "Minyak Masak atau Minyak Sayur (Cooking Oil) (02010205)",
    "Bilangan peroksida (mek O2/kg)",
    "=10",
  ],
  [
    8507,
    "Minyak Masak atau Minyak Sayur (Cooking Oil) (02010205)",
    "Arsen (As) (ppm atau mg/kg)",
    "=0.1",
  ],
  [
    8508,
    "Minyak Masak atau Minyak Sayur (Cooking Oil) (02010205)",
    "Cadmium (Cd) (ppm atau mg/kg)",
    "=0.1",
  ],
  [
    8509,
    "Minyak Masak atau Minyak Sayur (Cooking Oil) (02010205)",
    "Merkuri (Hg) (ppm atau mg/kg)",
    "=0.05",
  ],
  [
    8510,
    "Minyak Masak atau Minyak Sayur (Cooking Oil) (02010205)",
    "Timah (Sn) pangan olahan yang dikemas dalam kaleng (ppm atau mg/kg)",
    "=250",
  ],
  [
    8511,
    "Minyak Masak atau Minyak Sayur (Cooking Oil) (02010205)",
    "Timah (Sn) yang tidak dikemas dalam kaleng (ppm atau mg/kg)",
    "=40",
  ],
  [
    8512,
    "Minyak Masak atau Minyak Sayur (Cooking Oil) (02010205)",
    "Timbal (Pb) (mg/kg)",
    "=0.1",
  ],
  [
    8513,

 view all matches for this distribution


App-BS

 view release on metacpan or  search on metacpan

cpanfile.snapshot  view on Meta::CPAN

      Const::Fast 0
      ExtUtils::MakeMaker 0
      perl 5.010
      strict 0
      warnings 0
  Cookie-Baker-0.12
    pathname: K/KA/KAZEBURO/Cookie-Baker-0.12.tar.gz
    provides:
      Cookie::Baker 0.12
    requirements:
      Exporter 0
      Module::Build::Tiny 0.035
      URI::Escape 0
      perl 5.008001

cpanfile.snapshot  view on Meta::CPAN

    provides:
      HTML::Tagset 3.24
    requirements:
      ExtUtils::MakeMaker 6.46
      perl 5.010001
  HTTP-Cookies-6.11
    pathname: O/OA/OALDERS/HTTP-Cookies-6.11.tar.gz
    provides:
      HTTP::Cookies 6.11
      HTTP::Cookies::Microsoft 6.11
      HTTP::Cookies::Netscape 6.11
    requirements:
      Carp 0
      ExtUtils::MakeMaker 0
      HTTP::Date 6
      HTTP::Headers::Util 6

cpanfile.snapshot  view on Meta::CPAN

    provides:
      Module::Build 0.4234
      Module::Build::Base 0.4234
      Module::Build::Compat 0.4234
      Module::Build::Config 0.4234
      Module::Build::Cookbook 0.4234
      Module::Build::Dumper 0.4234
      Module::Build::Notes 0.4234
      Module::Build::PPMMaker 0.4234
      Module::Build::Platform::Default 0.4234
      Module::Build::Platform::MacOS 0.4234

cpanfile.snapshot  view on Meta::CPAN

      Plack::Util::Accessor undef
      Plack::Util::IOWithPath undef
      Plack::Util::Prototype undef
    requirements:
      Apache::LogFormat::Compiler 0.33
      Cookie::Baker 0.07
      Devel::StackTrace 1.23
      Devel::StackTrace::AsHTML 0.11
      ExtUtils::MakeMaker 0
      File::ShareDir 1.00
      File::ShareDir::Install 0.06

cpanfile.snapshot  view on Meta::CPAN

      File::Listing 6
      File::Temp 0
      Getopt::Long 0
      HTML::Entities 0
      HTML::HeadParser 3.71
      HTTP::Cookies 6
      HTTP::Date 6
      HTTP::Negotiate 6
      HTTP::Request 6.18
      HTTP::Request::Common 6.18
      HTTP::Response 6.18

 view all matches for this distribution


App-Beeminder-Hook

 view release on metacpan or  search on metacpan

views/index.tt  view on Meta::CPAN

            <h3>Browse the documentation</h3>

            <ul class="links">
              <li><a
              href="http://search.cpan.org/dist/Dancer/lib/Dancer/Introduction.pod">Introduction</a></li>
              <li><a href="http://search.cpan.org/dist/Dancer/lib/Dancer/Cookbook.pod">Cookbook</a></li>
              <li><a href="http://search.cpan.org/dist/Dancer/lib/Dancer/Deployment.pod">Deployment Guide</a></li>
              <li><a
              href="http://search.cpan.org/dist/Dancer/lib/Dancer/Tutorial.pod"
              title="a tutorial to build a small blog engine with Dancer">Tutorial</a></li>
            </ul>

 view all matches for this distribution


App-CPANGhq

 view release on metacpan or  search on metacpan

t/data/02packages.details.txt  view on Meta::CPAN

Ark::Plugin::MobileAgent          undef  S/SO/SONGMU/Ark-0.392.tar.gz
Ark::Plugin::ReproxyCallback      undef  S/SO/SONGMU/Ark-0.392.tar.gz
Ark::Plugin::ReproxyCallback::OpenSocial undef  S/SO/SONGMU/Ark-0.392.tar.gz
Ark::Plugin::Session              undef  S/SO/SONGMU/Ark-0.392.tar.gz
Ark::Plugin::Session::Backend     undef  S/SO/SONGMU/Ark-0.392.tar.gz
Ark::Plugin::Session::State::Cookie undef  S/SO/SONGMU/Ark-0.392.tar.gz
Ark::Plugin::Session::State::OpenSocial undef  S/SO/SONGMU/Ark-0.392.tar.gz
Ark::Plugin::Session::State::URI  undef  S/SO/SONGMU/Ark-0.392.tar.gz
Ark::Plugin::Session::State::URI::ExtendContext undef  S/SO/SONGMU/Ark-0.392.tar.gz
Ark::Plugin::Session::Store::Memory undef  S/SO/SONGMU/Ark-0.392.tar.gz
Ark::Plugin::Session::Store::Model undef  S/SO/SONGMU/Ark-0.392.tar.gz

 view all matches for this distribution


App-CSVUtils

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

1.009   2023-02-10  Released-By: PERLANCAR; Urgency: medium

        - Add options: --output-always-quote, --output-quote-empty.

        - [doc] Add an example of using --output-always-quote in
          Manual/Cookbook.pod


1.008   2023-02-03  Released-By: PERLANCAR; Urgency: low

        - No functional changes.

Changes  view on Meta::CPAN


0.042   2022-08-01  Released-By: PERLANCAR; Urgency: low

        - No functional changes.

        - [doc] Add some examples to App::CSVUtils::Manual::Cookbook.


0.041   2022-08-01  Released-By: PERLANCAR; Urgency: medium

        - Add utility: csv-get-cells.

Changes  view on Meta::CPAN

        - Add utility: csv-freqtable.


0.034   2021-07-10  Released-By: PERLANCAR; Urgency: medium

	- [bugfix][doc] Cookbook package was not renamed.


0.033   2021-07-10  Released-By: PERLANCAR; Urgency: medium

	- Add logging.

 view all matches for this distribution


App-Cache

 view release on metacpan or  search on metacpan

lib/App/Cache.pm  view on Meta::CPAN

use warnings;
use File::Find::Rule;
use File::HomeDir;
use File::Path qw( mkpath );
use File::stat;
use HTTP::Cookies;
use LWP::UserAgent;
use Path::Class;
use Storable qw(nstore retrieve);
use base qw( Class::Accessor::Chained::Fast );
__PACKAGE__->mk_accessors(qw( application directory ttl enabled ));

lib/App/Cache.pm  view on Meta::CPAN

sub get_url {
    my ( $self, $url ) = @_;
    my $data = $self->get($url);
    unless ($data) {
        my $ua = LWP::UserAgent->new;
        $ua->cookie_jar( HTTP::Cookies->new() );
        my $response = $ua->get($url);
        if ( $response->is_success ) {
            $data = $response->content;
        } else {
            die "Error fetching $url: " . $response->status_line;

 view all matches for this distribution


App-CamelPKI

 view release on metacpan or  search on metacpan

lib/App/CamelPKI/CADB.pm  view on Meta::CPAN

sub count {
    my ($self) = @_;
    return @{$self->{certs}} if $self->{certs};
    # No-camel optimization, isn't it? No! learning test of
    # DBIx::Class! Syntagm found in
    # L<DBIx::Class::Manual::Cookbook>.
    my $count = $self->{cursor}->search
        ({}, {
              select => [ { count => { distinct => 'me.certid' } } ],
              as     => [ 'count' ]
             });

lib/App/CamelPKI/CADB.pm  view on Meta::CPAN

}

=head2 App::CamelPKI::CADB::_Logger

Auxilliary class to observe SQL requests, as suggested in
L<DBIx::Class:Manual::Cookbook/Profiling>. Used by L</load>
to honor the setting done by L</debug_statements>.

=cut

package App::CamelPKI::CADB::_Logger;

 view all matches for this distribution


App-CekBpom

 view release on metacpan or  search on metacpan

lib/App/CekBpom.pm  view on Meta::CPAN

            'x.doc.show_result' => 0,
        },
    ],
};
sub cek_bpom_products {
    require HTTP::CookieJar::LWP;
    require LWP::UserAgent::Plugin;

    my $time_start = time();

    my %args = @_;
    defined(my $queries = $args{queries}) or return [400, "Please specify queries"];
    my $search_types = $args{search_types} // ['nama_produk', 'merk'];

    my $jar = HTTP::CookieJar::LWP->new;
    my $ua = LWP::UserAgent::Plugin->new(
        cookie_jar => $jar,
    );

    # first get the front page so we get the session ID

 view all matches for this distribution


App-Changelog2x

 view release on metacpan or  search on metacpan

lib/App/changelog2x/changelog2text.xslt  view on Meta::CPAN

      first).
-->
<xsl:stylesheet version="1.0"
                xmlns:cl="http://www.blackperl.com/2009/01/ChangeLogML"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                xmlns:str="http://www.ora.com/XSLTCookbook/namespaces/strings"
                xmlns:text="http://www.ora.com/XSLTCookbook/namespaces/text">

  <!--
    This snippet contains most of the core text-generation templates. It will
    also be used by the stylesheets that generate only partial content. Some
    may use xsl:import rather than xsl:include so as to override some

 view all matches for this distribution


App-Chart

 view release on metacpan or  search on metacpan

lib/App/Chart/Barchart.pm  view on Meta::CPAN


#-----------------------------------------------------------------------------
# various

sub cookie_jar {
  require HTTP::Cookies;
  my $jar = HTTP::Cookies->new;

  # Set-Cookie: bcad_int=1; path=/; domain=barchart.com;
  $jar->set_cookie(undef,            # version
                   'bcad_int',       # key
                   '1',              # value
                   '/',              # path
                   '.barchart.com'); # domain

 view all matches for this distribution


( run in 0.521 second using v1.01-cache-2.11-cpan-e9199f4ba4c )