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


App-Pod

 view release on metacpan or  search on metacpan

t/cpan/Mojo2/UserAgent.pm  view on Meta::CPAN

# "Fry: Since when is the Internet about robbing people of their privacy?
#  Bender: August 6, 1991."
use Mojo::IOLoop;
use Mojo::Promise;
use Mojo::Util qw(monkey_patch term_escape);
use Mojo::UserAgent::CookieJar;
use Mojo::UserAgent::Proxy;
use Mojo::UserAgent::Server;
use Mojo::UserAgent::Transactor;
use Scalar::Util qw(weaken);

use constant DEBUG => $ENV{MOJO_CLIENT_DEBUG} || 0;

has ca                 => sub { $ENV{MOJO_CA_FILE} };
has cert               => sub { $ENV{MOJO_CERT_FILE} };
has connect_timeout    => sub { $ENV{MOJO_CONNECT_TIMEOUT} || 10 };
has cookie_jar         => sub { Mojo::UserAgent::CookieJar->new };
has inactivity_timeout => sub { $ENV{MOJO_INACTIVITY_TIMEOUT} // 40 };
has insecure           => sub { $ENV{MOJO_INSECURE} };
has 'max_response_size';
has ioloop          => sub { Mojo::IOLoop->new };
has key             => sub { $ENV{MOJO_KEY_FILE} };

t/cpan/Mojo2/UserAgent.pm  view on Meta::CPAN

For better scalability (epoll, kqueue) and to provide non-blocking name resolution, SOCKS5 as well as TLS support, the
optional modules L<EV> (4.32+), L<Net::DNS::Native> (0.15+), L<IO::Socket::Socks> (0.64+) and L<IO::Socket::SSL>
(2.009+) will be used automatically if possible. Individual features can also be disabled with the C<MOJO_NO_NNR>,
C<MOJO_NO_SOCKS> and C<MOJO_NO_TLS> environment variables.

See L<Mojolicious::Guides::Cookbook/"USER AGENT"> for more.

=head1 EVENTS

L<Mojo::UserAgent> inherits all events from L<Mojo::EventEmitter> and can emit the following new ones.

t/cpan/Mojo2/UserAgent.pm  view on Meta::CPAN

the C<MOJO_CONNECT_TIMEOUT> environment variable or C<10>.

=head2 cookie_jar

  my $cookie_jar = $ua->cookie_jar;
  $ua            = $ua->cookie_jar(Mojo::UserAgent::CookieJar->new);

Cookie jar to use for requests performed by this user agent, defaults to a L<Mojo::UserAgent::CookieJar> object.

  # Ignore all cookies
  $ua->cookie_jar->ignore(sub { 1 });

  # Ignore cookies for public suffixes

t/cpan/Mojo2/UserAgent.pm  view on Meta::CPAN

    return ($ps->public_suffix($domain))[0] eq '';
  });

  # Add custom cookie to the jar
  $ua->cookie_jar->add(
    Mojo::Cookie::Response->new(
      name   => 'foo',
      value  => 'bar',
      domain => 'docs.mojolicious.org',
      path   => '/Mojolicious'
    )

 view all matches for this distribution


App-RetroPAN

 view release on metacpan or  search on metacpan

t/retropan.t  view on Meta::CPAN

            PETDANCE/HTML-Tagset-3.20
            MIKEM/Net-SSLeay-1.66
            SULLR/IO-Socket-SSL-2.008
            GAAS/WWW-RobotRules-6.02
            GAAS/HTTP-Negotiate-6.01
            GAAS/HTTP-Cookies-6.01
            GAAS/HTTP-Daemon-6.01
            NBEBOUT/NTLM-1.09
            ABH/Mozilla-CA-20141217
            MSCHILLI/LWP-Protocol-https-6.06
            RJBS/CPAN-Uploader-0.103007

 view all matches for this distribution


App-RoboBot

 view release on metacpan or  search on metacpan

doc/cookbook/index.rst  view on Meta::CPAN

.. include:: ../common.defs

.. _ch-cookbook:

Macro Cookbook
**************

This section provides examples for how to extend |RB| functionality on the fly
through the use of macros. Some of these examples are from real-world usage and
others are contrived examples. But all will hopefully contribute to aiming |RB|

 view all matches for this distribution


App-SD

 view release on metacpan or  search on metacpan

tools/shipwright-package  view on Meta::CPAN

export REPO=${HOME}/shipwright-sd-${TODAY}.git/
#export REPO=/tmp/shipwright-sd-${TODAY}.git/

export SHIPWRIGHT_REPOSITORY="git:file://$REPO"
export MIN_PERL=5.008006
export SKIP="--skip=Pod::Simple,Module::Signature,Test::Pod,Test::Most,Quantum::SuperPositions,Test::Pod::Coverage,Test::Distribution,Pod::Readme,Archive::Tar,HTML::Lint,Prophet,Encode,Date::Calc,Test::Cukes,Quantum::Superpositions,Test::Memory::Cycl...
export IMPORT="shipwright import --min-perl-version=$MIN_PERL $SKIP --log-file - --log-level debug"
rm -rf $REPO

shipwright create 
# Optional deps we still want

 view all matches for this distribution


App-SimpleBackuper

 view release on metacpan or  search on metacpan

local/lib/perl5/Module/Build.pm  view on Meta::CPAN


=item API Reference (L<Module::Build::API>)

This is a reference to the C<Module::Build> API.

=item Cookbook (L<Module::Build::Cookbook>)

This document demonstrates how to accomplish many common tasks.  It
covers general command line usage and authoring of F<Build.PL>
scripts.  Includes working examples.

local/lib/perl5/Module/Build.pm  view on Meta::CPAN

C<MakeMaker>, which was released in 2006.

If you don't need to retain compatibility with old versions (pre-6.31) of C<ExtUtils::MakeMaker> or
are starting a fresh Perl installation we recommend you use
C<install_base> instead (and C<INSTALL_BASE> in C<ExtUtils::MakeMaker>).
See L<Module::Build::Cookbook/Installing in the same location as
ExtUtils::MakeMaker> for further information.


=back

local/lib/perl5/Module/Build.pm  view on Meta::CPAN

modify it under the same terms as Perl itself.


=head1 SEE ALSO

perl(1), L<Module::Build::Cookbook>, L<Module::Build::Authoring>,
L<Module::Build::API>, L<ExtUtils::MakeMaker>

F<META.yml> Specification:
L<CPAN::Meta::Spec>

 view all matches for this distribution


App-SimpleScan

 view release on metacpan or  search on metacpan

lib/App/SimpleScan/Cookbook.pm  view on Meta::CPAN

use strict;

=head1 NAME

App::SimpleScan::Cookbook

=head1 DESCRIPTION

This is a documentation-only module that describes how to use C<simple_scan>,
and outlines some techniques you can use for some common Web testing problems.

 view all matches for this distribution


App-SlideServer

 view release on metacpan or  search on metacpan

share/public/slides.js  view on Meta::CPAN

		if (!config.mode)
			config.mode= 'obs';
		if (config.code_highlight === undefined && window.hljs)
			config.code_highlight= function(el){ window.hljs.highlightElement(el) }
		if (config.mode == 'presenter' && (config.key == null || config.key.length == 0))
			config.key= null;//TODO: getCookieVal('access_key');
		self.config= config
		// Generic button and checkbox handlers
		this._button_dispatch= function(ev) {
			try {
				self[this.dataset.method].call(self, ev);

 view all matches for this distribution


App-SocialCalc-Multiplayer

 view release on metacpan or  search on metacpan

socialcalc/simpleedit14.pl  view on Meta::CPAN

   use URI;
   use HTTP::Daemon;
   use HTTP::Status;
   use HTTP::Response;
   use Socket;
   use CGI::Cookie;

   use SocialCalcServersideUtilities;


   my $datadir = "se2-data/";

 view all matches for this distribution


App-SpamcupNG

 view release on metacpan or  search on metacpan

lib/App/SpamcupNG/UserAgent.pm  view on Meta::CPAN

use strict;
use Carp qw(confess);
use LWP::UserAgent 6.72;
use HTTP::Request 6.44;
use Log::Log4perl 1.57 qw(get_logger :levels);
use HTTP::CookieJar::LWP 0.014;
use Mozilla::PublicSuffix v1.0.6;
use HTTP::Request::Common 6.44 qw(POST);

our $VERSION = '0.020'; # VERSION

lib/App/SpamcupNG/UserAgent.pm  view on Meta::CPAN

    bless $self, $class;

    my $ua = LWP::UserAgent->new(
        agent             => ( $self->{name} . '/' . $version ),
        protocols_allowed => ['https'],
        cookie_jar        => HTTP::CookieJar::LWP->new
    );

    # for form based authentication
    push @{ $ua->requests_redirectable }, 'POST';
    $self->{user_agent} = $ua;

 view all matches for this distribution


App-Spec

 view release on metacpan or  search on metacpan

examples/bash/myapp.bash  view on Meta::CPAN


    case $INDEX in

    0)
        __comp_current_options || return
        __myapp_dynamic_comp 'commands' 'config'$'\t''configuration'$'\n''convert'$'\t''Various unit conversions'$'\n''cook'$'\t''Cook something'$'\n''data'$'\t''output some data'$'\n''help'$'\t''Show command help'$'\n''palindrome'$'\t''Check if a st...

    ;;
    *)
    # subcmds
    case ${MYWORDS[0]} in

 view all matches for this distribution


App-Sqitch

 view release on metacpan or  search on metacpan

inc/Menlo/Sqitch.pm  view on Meta::CPAN

        File-Slurper
        File-chdir
        File-pushd
        HTML-Parser
        HTML-Tagset
        HTTP-CookieJar
        HTTP-Cookies
        HTTP-Date
        HTTP-Message
        HTTP-Negotiate
        HTTP-Tiny
        HTTP-Tinyish

 view all matches for this distribution


App-Standup-Diary

 view release on metacpan or  search on metacpan

cpanfile.snapshot  view on Meta::CPAN

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

cpanfile.snapshot  view on Meta::CPAN

      Mojo::Cache undef
      Mojo::Collection undef
      Mojo::Content undef
      Mojo::Content::MultiPart undef
      Mojo::Content::Single undef
      Mojo::Cookie undef
      Mojo::Cookie::Request undef
      Mojo::Cookie::Response undef
      Mojo::DOM undef
      Mojo::DOM::CSS undef
      Mojo::DOM::HTML undef
      Mojo::Date undef
      Mojo::DynamicMethods undef

cpanfile.snapshot  view on Meta::CPAN

      Mojo::Transaction::HTTP undef
      Mojo::Transaction::WebSocket undef
      Mojo::URL undef
      Mojo::Upload undef
      Mojo::UserAgent undef
      Mojo::UserAgent::CookieJar undef
      Mojo::UserAgent::Proxy undef
      Mojo::UserAgent::Server undef
      Mojo::UserAgent::Transactor undef
      Mojo::Util undef
      Mojo::WebSocket undef

 view all matches for this distribution


App-Tel

 view release on metacpan or  search on metacpan

local/lib/perl5/Module/Build.pm  view on Meta::CPAN


=item API Reference (L<Module::Build::API>)

This is a reference to the C<Module::Build> API.

=item Cookbook (L<Module::Build::Cookbook>)

This document demonstrates how to accomplish many common tasks.  It
covers general command line usage and authoring of F<Build.PL>
scripts.  Includes working examples.

local/lib/perl5/Module/Build.pm  view on Meta::CPAN

C<MakeMaker>, which was released in 2006.

If you don't need to retain compatibility with old versions (pre-6.31) of C<ExtUtils::MakeMaker> or
are starting a fresh Perl installation we recommend you use
C<install_base> instead (and C<INSTALL_BASE> in C<ExtUtils::MakeMaker>).
See L<Module::Build::Cookbook/Installing in the same location as
ExtUtils::MakeMaker> for further information.


=back

local/lib/perl5/Module/Build.pm  view on Meta::CPAN

modify it under the same terms as Perl itself.


=head1 SEE ALSO

perl(1), L<Module::Build::Cookbook>, L<Module::Build::Authoring>,
L<Module::Build::API>, L<ExtUtils::MakeMaker>

F<META.yml> Specification:
L<CPAN::Meta::Spec>

 view all matches for this distribution


App-Todo

 view release on metacpan or  search on metacpan

bin/todo.pl  view on Meta::CPAN

                                    $sid, '/', $uri->host, $uri->port,
                                    0, 0, undef, 1);
    }
    if($config{site}) {
        # Somehow, localhost gets normalized to localhost.localdomain,
        # and messes up HTTP::Cookies when we try to set cookies on
        # localhost, since it doesn't send them to
        # localhost.localdomain.
        $config{site} =~ s/localhost/127.0.0.1/;
    }
}

 view all matches for this distribution


App-UpdateCPANfile

 view release on metacpan or  search on metacpan

t/fixtures/custom_phase/cpanfile.snapshot  view on Meta::CPAN

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

 view all matches for this distribution


App-Zapzi

 view release on metacpan or  search on metacpan

lib/App/Zapzi/Fetchers/URL.pm  view on Meta::CPAN

our $VERSION = '0.017'; # VERSION

use Carp;
use Data::Validate::URI 0.06;
use HTTP::Tiny;
use HTTP::CookieJar;
use Moo;

with 'App::Zapzi::Roles::Fetcher';


lib/App/Zapzi/Fetchers/URL.pm  view on Meta::CPAN


sub fetch
{
    my $self = shift;

    my $jar = HTTP::CookieJar->new;
    my $http = HTTP::Tiny->new(cookie_jar => $jar);

    my $url = $self->source;
    my $response = $http->get($url, $self->_http_request_headers());

 view all matches for this distribution


App-ZofCMS

 view release on metacpan or  search on metacpan

examples/test_example.pl  view on Meta::CPAN

plan skip_all
=> "App::ZofCMS::Test::Plugin required for testing plugin"
    if $@;

plugin_ok(
    'Cookies',
    { set_cookies => [ [foo => 'bar'] ], },
    { foo => 'bar' },
    { foo => 'bar' },
);

 view all matches for this distribution


App-aep

 view release on metacpan or  search on metacpan

cpanfile.snapshot  view on Meta::CPAN

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

 view all matches for this distribution


App-cpanel

 view release on metacpan or  search on metacpan

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

  $url->path(join '/', '', "cpsess$url_token", @$parts);
  $url->query(%$args) if $args;
  CORE::state $ua = Mojo::UserAgent->new; # state as needs to live long enough to complete request
  $ua->$method(
    $url->to_abs . "",
    { Cookie => "cpsession=$cookie_token" },
    @extra_args,
  );
}

sub read_file {

 view all matches for this distribution


App-cpanminus-reporter

 view release on metacpan or  search on metacpan

t/data/build.fresh.log  view on Meta::CPAN

All tests successful.
Files=20, Tests=252,  1 wallclock secs ( 0.07 usr  0.02 sys +  0.63 cusr  0.10 csys =  0.82 CPU)
Result: PASS
Manifying 4 pod documents
Installing /Volumes/amaretto/Users/ether/.perlbrew/libs/21.11@std/lib/perl5/Sub/Exporter.pm
Installing /Volumes/amaretto/Users/ether/.perlbrew/libs/21.11@std/lib/perl5/Sub/Exporter/Cookbook.pod
Installing /Volumes/amaretto/Users/ether/.perlbrew/libs/21.11@std/lib/perl5/Sub/Exporter/Tutorial.pod
Installing /Volumes/amaretto/Users/ether/.perlbrew/libs/21.11@std/lib/perl5/Sub/Exporter/Util.pm
Installing /Volumes/amaretto/Users/ether/.perlbrew/libs/21.11@std/man/man3/Sub::Exporter.0
Installing /Volumes/amaretto/Users/ether/.perlbrew/libs/21.11@std/man/man3/Sub::Exporter::Cookbook.0
Installing /Volumes/amaretto/Users/ether/.perlbrew/libs/21.11@std/man/man3/Sub::Exporter::Tutorial.0
Installing /Volumes/amaretto/Users/ether/.perlbrew/libs/21.11@std/man/man3/Sub::Exporter::Util.0
Appending installation info to /Volumes/amaretto/Users/ether/.perlbrew/libs/21.11@std/lib/perl5/darwin-2level/perllocal.pod
-> OK
Successfully installed Sub-Exporter-0.987

t/data/build.fresh.log  view on Meta::CPAN

Configuring libwww-perl-6.13
Running Makefile.PL
Warning: prerequisite File::Listing 6 not found.
Warning: prerequisite HTML::Entities 0 not found.
Warning: prerequisite HTML::HeadParser 0 not found.
Warning: prerequisite HTTP::Cookies 6 not found.
Warning: prerequisite HTTP::Daemon 6 not found.
Warning: prerequisite HTTP::Negotiate 6 not found.
Warning: prerequisite Net::HTTP 6.07 not found.
Warning: prerequisite WWW::RobotRules 6 not found.
Checking if your kit is complete...

t/data/build.fresh.log  view on Meta::CPAN

Checking if you have Encode::Locale 0 ... Yes (1.04)
Checking if you have FindBin 0 ... Yes (1.51)
Checking if you have HTTP::Daemon 6 ... No
Checking if you have LWP::MediaTypes 6 ... Yes (6.02)
Checking if you have IO::Select 0 ... Yes (1.22)
Checking if you have HTTP::Cookies 6 ... No
Checking if you have Net::HTTP 6.07 ... No
Checking if you have HTTP::Response 6 ... Yes (6.04)
Checking if you have Test::More 0 ... Yes (1.001014)
Checking if you have HTTP::Status 6 ... Yes (6.03)
Checking if you have URI::Escape 0 ... Yes (3.31)

t/data/build.fresh.log  view on Meta::CPAN

Checking if you have HTML::Entities 0 ... No
Checking if you have Test 0 ... Yes (1.26)
Checking if you have Net::FTP 2.58 ... Yes (3.05)
Checking if you have MIME::Base64 2.1 ... Yes (3.15)
Checking if you have HTTP::Request 6 ... Yes (6.00)
==> Found dependencies: WWW::RobotRules, HTML::HeadParser, HTTP::Negotiate, File::Listing, HTTP::Daemon, HTTP::Cookies, Net::HTTP, HTML::Entities
Searching WWW::RobotRules on mirror http://mirrors.gossamer-threads.com/CPAN ...
--> Working on WWW::RobotRules
Fetching http://mirrors.gossamer-threads.com/CPAN/authors/id/G/GA/GAAS/WWW-RobotRules-6.02.tar.gz
-> OK
Unpacking WWW-RobotRules-6.02.tar.gz

t/data/build.fresh.log  view on Meta::CPAN

Appending installation info to /Volumes/amaretto/Users/ether/.perlbrew/libs/21.11@std/lib/perl5/darwin-2level/perllocal.pod
-> OK
Successfully installed HTTP-Daemon-6.01
Installing /Volumes/amaretto/Users/ether/.perlbrew/libs/21.11@std/lib/perl5/darwin-2level/.meta/HTTP-Daemon-6.01/MYMETA.json
Installing /Volumes/amaretto/Users/ether/.perlbrew/libs/21.11@std/lib/perl5/darwin-2level/.meta/HTTP-Daemon-6.01/install.json
Searching HTTP::Cookies on mirror http://mirrors.gossamer-threads.com/CPAN ...
--> Working on HTTP::Cookies
Fetching http://mirrors.gossamer-threads.com/CPAN/authors/id/G/GA/GAAS/HTTP-Cookies-6.01.tar.gz
-> OK
Unpacking HTTP-Cookies-6.01.tar.gz
Entering HTTP-Cookies-6.01
Checking configure dependencies from META.yml
Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.04)
Configuring HTTP-Cookies-6.01
Running Makefile.PL
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for HTTP::Cookies
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.04)
Checking if you have HTTP::Date 6 ... Yes (6.02)
Checking if you have HTTP::Headers::Util 6 ... Yes (6.03)
Checking if you have Time::Local 0 ... Yes (1.2300)
Building and testing HTTP-Cookies-6.01
Manifying 3 pod documents
PERL_DL_NONLAZY=1 "/Volumes/amaretto/Users/ether/perl5/perlbrew/perls/21.11/bin/perl5.21.11" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/cookies.t .. ok
All tests successful.
Files=1, Tests=66,  0 wallclock secs ( 0.02 usr  0.00 sys +  0.04 cusr  0.00 csys =  0.06 CPU)
Result: PASS
Manifying 3 pod documents
Installing /Volumes/amaretto/Users/ether/.perlbrew/libs/21.11@std/lib/perl5/HTTP/Cookies.pm
Installing /Volumes/amaretto/Users/ether/.perlbrew/libs/21.11@std/lib/perl5/HTTP/Cookies/Microsoft.pm
Installing /Volumes/amaretto/Users/ether/.perlbrew/libs/21.11@std/lib/perl5/HTTP/Cookies/Netscape.pm
Installing /Volumes/amaretto/Users/ether/.perlbrew/libs/21.11@std/man/man3/HTTP::Cookies.0
Installing /Volumes/amaretto/Users/ether/.perlbrew/libs/21.11@std/man/man3/HTTP::Cookies::Microsoft.0
Installing /Volumes/amaretto/Users/ether/.perlbrew/libs/21.11@std/man/man3/HTTP::Cookies::Netscape.0
Appending installation info to /Volumes/amaretto/Users/ether/.perlbrew/libs/21.11@std/lib/perl5/darwin-2level/perllocal.pod
-> OK
Successfully installed HTTP-Cookies-6.01
Installing /Volumes/amaretto/Users/ether/.perlbrew/libs/21.11@std/lib/perl5/darwin-2level/.meta/HTTP-Cookies-6.01/MYMETA.json
Installing /Volumes/amaretto/Users/ether/.perlbrew/libs/21.11@std/lib/perl5/darwin-2level/.meta/HTTP-Cookies-6.01/install.json
Searching Net::HTTP on mirror http://mirrors.gossamer-threads.com/CPAN ...
--> Working on Net::HTTP
Fetching http://mirrors.gossamer-threads.com/CPAN/authors/id/M/MS/MSCHILLI/Net-HTTP-6.07.tar.gz
-> OK
Unpacking Net-HTTP-6.07.tar.gz

 view all matches for this distribution


App-cpanminus

 view release on metacpan or  search on metacpan

lib/App/cpanminus/fatscript.pm  view on Meta::CPAN

  #pod
  #pod =for :list
  #pod * C<agent> —
  #pod     A user-agent string (defaults to 'HTTP-Tiny/$VERSION'). If C<agent> — ends in a space character, the default user-agent string is appended.
  #pod * C<cookie_jar> —
  #pod     An instance of L<HTTP::CookieJar> — or equivalent class that supports the C<add> and C<cookie_header> methods
  #pod * C<default_headers> —
  #pod     A hashref of default headers to apply to requests
  #pod * C<local_address> —
  #pod     The local IP address to bind to
  #pod * C<keep_alive> —

lib/App/cpanminus/fatscript.pm  view on Meta::CPAN

  sub _validate_cookie_jar {
      my ($class, $jar) = @_;
  
      # duck typing
      for my $method ( qw/add cookie_header/ ) {
          Carp::croak(qq/Cookie jar must provide the '$method' method\n/)
              unless ref($jar) && ref($jar)->can($method);
      }
  
      return;
  }

lib/App/cpanminus/fatscript.pm  view on Meta::CPAN

  proxies and redirection.  It also correctly resumes after EINTR.
  
  If L<IO::Socket::IP> 0.25 or later is installed, HTTP::Tiny will use it instead
  of L<IO::Socket::INET> for transparent support for both IPv4 and IPv6.
  
  Cookie support requires L<HTTP::CookieJar> or an equivalent class.
  
  =head1 METHODS
  
  =head2 new
  

lib/App/cpanminus/fatscript.pm  view on Meta::CPAN

  
  C<agent> — A user-agent string (defaults to 'HTTP-Tiny/$VERSION'). If C<agent> — ends in a space character, the default user-agent string is appended.
  
  =item *
  
  C<cookie_jar> — An instance of L<HTTP::CookieJar> — or equivalent class that supports the C<add> and C<cookie_header> methods
  
  =item *
  
  C<default_headers> — A hashref of default headers to apply to requests
  

lib/App/cpanminus/fatscript.pm  view on Meta::CPAN

  
  =back
  
  =head1 CONTRIBUTORS
  
  =for stopwords Alan Gardner Alessandro Ghedini Brad Gilbert Chris Nehren Weyl Claes Jakobsson Clinton Gormley Dean Pearce Edward Zborowski James Raspass Jeremy Mates Jess Robinson Lukas Eklund Martin J. Evans Martin-Louis Bright Mike Doherty Olaf A...
  
  =over 4
  
  =item *
  

lib/App/cpanminus/fatscript.pm  view on Meta::CPAN

  
  Tom Hukins <tom@eborcom.com>
  
  =item *
  
  Tony Cook <tony@develop-help.com>
  
  =back
  
  =head1 COPYRIGHT AND LICENSE
  

 view all matches for this distribution


App-cpm

 view release on metacpan or  search on metacpan

lib/App/cpm/Tutorial.pm  view on Meta::CPAN


  requires 'Path::Class', 0.26,
    dist => "KWILLIAMS/Path-Class-0.26.tar.gz";

  # use dist + mirror
  requires 'Cookie::Baker',
    dist => "KAZEBURO/Cookie-Baker-0.08.tar.gz",
    mirror => "http://cpan.cpantesters.org/";

  # use the full URL
  requires 'Try::Tiny', 0.28,
    url => "http://backpan.perl.org/authors/id/E/ET/ETHER/Try-Tiny-0.28.tar.gz";

 view all matches for this distribution


App-get_flash_videos

 view release on metacpan or  search on metacpan

utils/combine-head  view on Meta::CPAN

# Copyright 2009, zakflash and MonsieurVideo
#
# This file includes various perl modules, see their original source for their
# copyright and license terms.

use HTTP::Cookies ();
use HTTP::Config ();
use HTTP::Request::Common ();
use LWP::Protocol::http ();
use XML::Simple ();
use WWW::Mechanize::Link ();

 view all matches for this distribution


App-grepurl

 view release on metacpan or  search on metacpan

data/index.html  view on Meta::CPAN

	<br><img src="Images/camel.jpg" alt="#"><a href="http://www.theperlreview.com/Issues/v0i5.shtml">"Design Patterns: Iterators"</a>,       <i>The Perl Review</i>,   <font class="date">Sep 2002</font>
	<br><img src="Images/camel.jpg" alt="#"><a href="http://www.theperlreview.com/Issues/v0i6.shtml">"Simple RSS with Perl"</a>,             <i>The Perl Review</i>,   <font class="date">Nov 2002</font>
	<br><img src="Images/camel.jpg" alt="#"><img src="Images/mac.jpg" alt="*"><a href="http://www.macdevcenter.com/pub/a/mac/2002/11/22/itunes_perl.html">"Controlling iTunes with Perl"</a>, MacDevCenter, <font class="date">Nov 2002</font>
	<br><img src="Images/camel.jpg" alt="#">"Better Documenation Through Testing",                                                           <i>The Perl Journal</i>,  <font class="date">Nov 2002</font>
	<br><img src="Images/camel.jpg" alt="#">"Ruby versus Perl",                                                                              <i>The Perl Journal</i>,  <font class="date">Dec 2002</font>
	<br><img src="Images/camel.jpg" alt="#">"Sharing Cookies",                                                                               <i>The Perl Journal</i>,  <font class="date">Jan 2003</font>
	<br><img src="Images/mac.jpg" alt="*"><a href="http://www.macdevcenter.com/pub/a/mac/2003/01/17/itunes.html">"Cleaning iTunes"</a>,       MacDevCenter, <font class="date">Jan 2003</font>
	<br><img src="Images/camel.jpg" alt="#">"Amazon.com Wish Lists",                                                                         <i>The Perl Journal</i>,  <font class="date">Feb 2003</font>
	<br><img src="Images/camel.jpg" alt="#">"Creating Perl Application Distributions",                                                       <i>The Perl Journal</i>,  <font class="date">Mar 2003</font>
	<br><img src="Images/camel.jpg" alt="#">"Google and Perl",                                                                               <i>The Perl Journal</i>,  <font class="date">May 2003</font>
	<br><img src="Images/camel.jpg" alt="#">"CPAN in the Desert",                                                                            <i>The Perl Journal</i>,  <font class="date">Jan 2004</font>

 view all matches for this distribution


App-lcpan-Manual

 view release on metacpan or  search on metacpan

lib/App/lcpan/Manual.pm  view on Meta::CPAN


This distribution contains the following documentation pages:

=over

=item * L<App::lcpan::Manual::Cookbook>

=item * L<App::lcpan::Manual::FAQ>

=item * L<App::lcpan::Manual::Internals>

 view all matches for this distribution


App-lcpan

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

	  module; use dist name instead.

	- [subcommand rdeps] Like deps, fix query by linking using module
	  name instead of module ID.

	- Remove App::lcpan::Manual::Cookbook (now in App-lcpan-Manual).


1.049   2020-04-11  Released-By: PERLANCAR; Urgency: high

	- [bugfix] A logic bug in --dont-uniquify option broke deps & rdeps

 view all matches for this distribution


App-livehttperf

 view release on metacpan or  search on metacpan

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

            # request
            if ( ! defined $req && $l =~ /^[A-Z]+ /) {
                my $req_hdrs = $l;
                my $cl;
                REQ: while( defined( $l = $fh[++$i] ) ) {
                    if ( ! $OPTS{reuse_cookies} && $l =~ /^Cookie/i ) {
                        next REQ;
                    }
                    if ( $l =~ /^HTTP\// ) { # reached response block
                        $i--;
                        last REQ;

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

                # status line is parsed up to \n by HTTP::Response->parse()
                my $res_hdrs = "$l\n";
                RES: while( $l = $fh[++$i] ) {
                    last RES if $l =~ /^\-{58}/;
                    unless ( $OPTS{reuse_cookies} ) {
                        next if $l =~ /^Set-Cookie/i;
                    }
                    $res_hdrs .= $l;
                }
                $res = HTTP::Response->parse($res_hdrs);
                unless ( $ua_opts{keep_alive} ) {

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


  -h, --hostname=STRING Override hostname in requests and set Host header to
                        STRING.
                        Default: no change

  -rc, --reuse_cookies  Use Cookie/Set-Cookie headers from recorded session.
                        Default: do not reuse

Sessions:
  -n, --repeat=NUM      Repeat recorded session NUM times.
                        Default: 10

 view all matches for this distribution


App-md2html

 view release on metacpan or  search on metacpan

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

 view all matches for this distribution


App-mimi

 view release on metacpan or  search on metacpan

mimi.fatpack  view on Meta::CPAN

         }
       ];
  $x; }
MODULE_BUILD_CONFIGDATA

$fatpacked{"Module/Build/Cookbook.pm"} = '#line '.(1+__LINE__).' "'.__FILE__."\"\n".<<'MODULE_BUILD_COOKBOOK';
  package Module::Build::Cookbook;use strict;use warnings;our$VERSION='0.03';
MODULE_BUILD_COOKBOOK

$fatpacked{"Module/Build/Dumper.pm"} = '#line '.(1+__LINE__).' "'.__FILE__."\"\n".<<'MODULE_BUILD_DUMPER';
  package Module::Build::Dumper;use strict;use warnings;our$VERSION='0.03';use Data::Dumper;sub _data_dump {my ($self,$data)=@_;return ("do{ my " .Data::Dumper->new([$data],['x'])->Purity(1)->Terse(0)->Sortkeys(1)->Dump().'$x; }')}1;
MODULE_BUILD_DUMPER

 view all matches for this distribution


App-mio

 view release on metacpan or  search on metacpan

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

}

use strict;
use warnings;

# sub commify straight from Perl Cookbook,
# Chapter 2.17. "Putting Commas in Numbers"
sub commify {
    my $self = shift;
    my $text = reverse $_[0];
    $text =~ s/(\d\d\d)(?=\d)(?!\d*\.)/$1,/g;

 view all matches for this distribution


( run in 0.846 second using v1.01-cache-2.11-cpan-0c5ce583b80 )