view release on metacpan or search on metacpan
t/02parser.t view on Meta::CPAN
is($c->find_siblings_directive_names(($c->root->daughters)[-1],
'LoadModule'),
$load_modules[$i],
"found $load_modules[$i] LoadModule's one level down");
# Data::Dumper does not sort the hash keys so different versions of
# Perl generate the same object but different Data::Dumper::Dumper
# outputs. To work around this, recursively descend into the object
# and print the output ourselves. Also, the errstr object variable
# will sometimes be set and contain operating system specific error
# messages which will not compare identically with the error
# messages in the answer files, so modify them by removing the
view all matches for this distribution
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
use ExtUtils::MakeMaker ();
use Cwd ;
use Data::Dumper ;
foreach my $f ('makepl_args.apache_dav', '../makepl_args.apache_dav')
{
if (-f $f)
{
Makefile.PL view on Meta::CPAN
'OPTIMIZE' => '-ggdb',
) ;
open FH, ">xs/mmargs.pl" or die "Cannot open xs/mmargs.pl ($!)" ;
print FH Data::Dumper -> Dump ([\%MMARGS], ['MMARGS']) ;
close FH ;
ExtUtils::MakeMaker::WriteMakefile(
'NAME' => 'Apache::DAV',
view all matches for this distribution
view release on metacpan or search on metacpan
bin/webstat_mail.pl view on Meta::CPAN
use strict;
use DBI;
use Carp;
use vars qw(%opts %conf);
use Getopt::Std;
use Data::Dumper;
use Date::Format;
use Net::SMTP;
getopts("dtc:MTh", \%opts);
&usage if ($opts{h});
bin/webstat_mail.pl view on Meta::CPAN
# for each server: do something..
while( my ($server, $serverconfig) = each %WebStat::Config::server) {
next if ($server eq "default");
print "$server\n" if $opts{d};
#print Data::Dumper->Dump([\$serverconfig], [qw($serverconfig)]) if $opts{d};
# setup a few useful dates
my %dates = (
today => time2str("%Y-%m-%d", time),
yesterday => time2str("%Y-%m-%d", time-(60*60*24)),
bin/webstat_mail.pl view on Meta::CPAN
sub readconfigfile {
my $conffile = $opts{c} || "./webstat.conf";
require $conffile;
if ($opts{d}) {
#print Data::Dumper->Dump([\%WebStat::Config::server], [qw(server)]);
#print Data::Dumper->Dump([\%WebStat::Config::database], [qw(database)]);
}
}
# count hits and traffic
view all matches for this distribution
view release on metacpan or search on metacpan
DebugInfo.pm view on Meta::CPAN
use 5.005;
use mod_perl 1.2401;
use Apache::Constants qw( OK DECLINED );
use Apache::File;
use Apache::Log;
use Data::Dumper;
use strict;
$Apache::DebugInfo::VERSION = '0.05';
# set debug level
DebugInfo.pm view on Meta::CPAN
my %hash = %$pnotes;
foreach my $field (sort keys %hash) {
my $value = $hash{$field};
my $d = Data::Dumper->new([$value]);
$d->Pad("\t\t");
$d->Indent(1);
$d->Quotekeys(0);
$d->Terse(1);
view all matches for this distribution
view release on metacpan or search on metacpan
lang/langdbm.pl view on Meta::CPAN
#!/usr/bin/perl
use strict;
use MLDBM qw(GDBM_File Data::Dumper);
use Fcntl;
use Data::Dumper;
my %lang = ();
opendir(DH, ".") or die $!;
view all matches for this distribution
view release on metacpan or search on metacpan
FileManager.pm view on Meta::CPAN
use File::stat;
use Archive::Any;
use POSIX qw(strftime);
use CGI::Cookie;
use Apache::Constants ':common';
#use Data::Dumper;
require 5.005_62;
our $VERSION = '0.19';
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Apache/GD/Graph.pm view on Meta::CPAN
=back
=cut
use strict;
use Data::Dumper;
use Apache;
use Apache::Constants qw/OK/;
use HTTP::Date;
use GD;
use GD::Text;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Apache/Gallery.pm view on Meta::CPAN
use CGI::Cookie;
use Encode;
use HTTP::Date;
use Digest::MD5 qw(md5_base64);
use Data::Dumper;
# Regexp for escaping URI's
my $escape_rule = "^A-Za-z0-9\-_.!~*'()\/";
my $memoized;
lib/Apache/Gallery.pm view on Meta::CPAN
Examples of keys: B<ShutterSpeedValue>, B<ApertureValue>, B<SubjectDistance>,
and B<Camera>
You can view all the keys from the EXIF header using this perl-oneliner:
perl C<-e> 'use Data::Dumper; use Image::Info qw(image_info); print Dumper(image_info(shift));' filename.jpg
Default is: 'Picture Taken => DateTimeOriginal, Flash => Flash'
=item B<GallerySizes>
view all matches for this distribution
view release on metacpan or search on metacpan
Client/httunnel view on Meta::CPAN
use IO::Select ;
use IO::Pipe ;
use IO::Handle ;
BEGIN { eval { require Sys::Syslog } }
use HTTunnel::Client ;
use Data::Dumper ;
use POSIX qw(setsid) ;
$SIG{CHLD} = 'IGNORE' ;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Apache/Hadoop/Watcher/Base.pm view on Meta::CPAN
use strict;
use warnings;
use IO::Socket::INET;
use LWP::UserAgent;
use Data::Dumper;
our @ISA = qw();
our $VERSION = '0.01';
lib/Apache/Hadoop/Watcher/Base.pm view on Meta::CPAN
Apache::Hadoop::Watcher::Jmx
Apache::Hadoop::Watcher::Yarn
Apache::Hadoop::Watcher
IO::Socket::INET;
LWP::UserAgent;
Data::Dumper;
=head1 AUTHOR
Snehasis Sinha, E<lt>snehasis@cpan.orgE<gt>
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Apache/Hadoop/WebHDFS.pm view on Meta::CPAN
=head2 list a HDFS directory on a secure hadop cluster
#!/usr/bin/perl
use strict;
use warnings;
use Data::Dumper;
use Apache::Hadoop::WebHDFS;
my $username=getlogin();
my $hdfsclient = Apache::Hadoop::WebHDFS->new( {namenode =>"mynamenode.example.com",
namenodeport =>"50070",
authmethod =>"gssapi",
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Apache/Handlers.pm view on Meta::CPAN
my %code = ( );
sub dump {
eval {
use Data::Dumper;
return Data::Dumper -> Dump([\%code]);
};
}
my %phases = qw:
CHILDINIT PerlChildInitHandler
lib/Apache/Handlers.pm view on Meta::CPAN
=over 4
=item dump
This will dump the current set of code references and return the string.
This uses L<Data::Dumper|Data::Dumper>.
=item reset
This will clear out all previously set code. This should only be used in
the C<startup.pl> or equivalent so that code doesn't get run twice during a
lib/Apache/Handlers.pm view on Meta::CPAN
=head1 SEE ALSO
L<Apache>,
L<Attribute::Handlers>,
L<Data::Dumper>.
=head1 AUTHOR
James G. Smith <jsmith@cpan.org>
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Apache/HeavyCGI/Debug.pm view on Meta::CPAN
package Apache::HeavyCGI::Debug;
use base 'Class::Singleton';
use Data::Dumper;
use strict;
sub as_string {
my Apache::HeavyCGI::Debug $self = shift;
my Apache::HeavyCGI $mgr = shift;
lib/Apache/HeavyCGI/Debug.pm view on Meta::CPAN
while (($k,$v) = each %$mgr){
next unless defined $v;
$f{$k} = $v;
}
Data::Dumper::Dumper( \%f )
}
1;
=head1 NAME
Apache::HeavyCGI::Debug - inspect the Pseudohash as Hash with Data::Dumper
=head1 SYNOPSIS
push @layout, "<BR><PRE>",
$self->instance_of("Apache::HeavyCGI::Debug"),
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Apache/Imager/Resize.pm view on Meta::CPAN
use File::Basename ();
use File::Path ();
use Apache::Constants (':common');
use Imager;
use Data::Dumper;
use Apache::ModuleConfig ();
use DynaLoader ();
use vars qw($VERSION);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Apache/JAF.pm view on Meta::CPAN
use Apache::Request ();
use Apache::Constants qw( :common REDIRECT );
use Apache::File ();
use Data::Dumper qw( Dumper );
use File::Find ();
our $WIN32 = $^O =~ /win32/i;
our $RX = $WIN32 ? qr/\:(?!(?:\/|\\))/ : qr/\:/;
our $VERSION = do { my @r = (q$Revision: 0.21 $ =~ /\d+/g); sprintf "%d."."%02d" x $#r, @r };
lib/Apache/JAF.pm view on Meta::CPAN
my $messages = $modeller->messages();
if ($messages) {
Apache::Cookie->new($self->{r},
-name => 'messages',
-path => '/',
-value => Data::Dumper::Dumper $messages)->bake();
}
} elsif ($self->{status} == OK && $self->{type} =~ /^text/ && !$self->{r}->header_only) {
my $VAR1;
if (exists $self->{cookies}{messages} && eval $self->{cookies}{messages}->value) {
$self->{res}{messages} = $VAR1;
view all matches for this distribution
view release on metacpan or search on metacpan
Language.pm view on Meta::CPAN
use vars qw(%CACHE $VERSION @ISA $DEBUG $DEFAULT_HANDLER $AUTOLOAD %DEBUG);
use Apache::Language::Constants;
use Apache::ModuleConfig;
use IO::File;
use Data::Dumper;
use I18N::LangTags qw(is_language_tag similarity_language_tag same_language_tag);
@ISA = qw(DynaLoader);
$VERSION = '0.14';
$DEBUG=0;
view all matches for this distribution
view release on metacpan or search on metacpan
xl_ => { class => 'DBD::Excel', },
yaswi_ => { class => 'DBD::Yaswi', },
};
sub dump_dbd_registry {
require Data::Dumper;
local $Data::Dumper::Sortkeys=1;
local $Data::Dumper::Indent=1;
print Data::Dumper->Dump([$dbd_prefix_registry], [qw($dbd_prefix_registry)]);
}
# --- Dynamically create the DBI Standard Interface
my $keeperr = { O=>0x0004 };
%attributes,
# merge in modified attr in %$old_dbh, this should also copy in
# the dbi_connect_closure attribute so we can reconnect again.
%{ $override_attr || {} },
};
#warn "connect_closure: ".Data::Dumper::Dumper([\%attributes, $override_attr]);
my $dbh;
unless ($dbh = $drh->$connect_meth($dsn, $user, $pass, $attr)) {
$user = '' if !defined $user;
$dsn = '' if !defined $dsn;
AutoCommit ChopBlanks InactiveDestroy
LongTruncOk PrintError PrintWarn Profile RaiseError
ShowErrorStatement TaintIn TaintOut
));
}
# use Data::Dumper; warn Dumper([$old_dbh, $attr]);
my $new_dbh = &$closure($old_dbh, $attr);
unless ($new_dbh) {
# need to copy err/errstr from driver back into $old_dbh
my $drh = $old_dbh->{Driver};
return $old_dbh->set_err($drh->err, $drh->errstr, $drh->state);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Apache/Logmonster.pm view on Meta::CPAN
our $VERSION = '5.36';
use Carp;
use Compress::Zlib;
use Cwd;
#use Data::Dumper;
use Date::Parse;
use FileHandle;
use File::Basename;
use File::Copy;
use Regexp::Log;
view all matches for this distribution
view release on metacpan or search on metacpan
use strict;
use Apache::DBI;
use DBI;
use Apache::Constants qw(OK NOT_FOUND SERVER_ERROR AUTH_REQUIRED);
use Apache::Request ();
use Data::Dumper;
use vars qw($VERSION %owa_mapping %owa_version);
my $DEBUG = 0;
$VERSION = '0.7';
view all matches for this distribution
view release on metacpan or search on metacpan
! Add protection of static pages with the require_login config
attribute. (Boris Zentner)
- Fix two cases where a filehandle can be used even if open failed
(Boris Zentner)
- Fix uri_prefix so that the url did not grow anymore (Boris Zentner)
- Remove unused modules Data::Dumper and Carp from View.pm (Boris Zentner)
- Fix to deliver static pages unzipped if desired (Anton Permyakov)
- Fix case where wrong cached file is used for xsl files with
reload="no" and first called without parameters in the
URL (Boris Zentner, Ben Ausden)
1.08
view all matches for this distribution
view release on metacpan or search on metacpan
ProxyStuff.pm view on Meta::CPAN
use Apache::Constants qw(:common);
use Apache::Log;
use Apache::Table;
use HTML::TokeParser;
use LWP::UserAgent;
use Data::Dumper;
@ISA = qw(LWP::UserAgent);
$VERSION = '0.10';
my $UA = __PACKAGE__->new;
view all matches for this distribution
view release on metacpan or search on metacpan
t/Mock/Apache/Request.pm view on Meta::CPAN
my $mock_r = new Mock::Apache:Request( 'cookie_id' => $cookie_id );
my $cookie = $mock_r->header_in( 'Cookie' );
use Data::Dumper;
print Dumper( $cookie );
=head1 AUTHOR
view all matches for this distribution
view release on metacpan or search on metacpan
t/response/TestApReqI18N/dump.pm view on Meta::CPAN
use strict;
use warnings FATAL => 'all';
use Apache::Constants 'OK';
use Apache::Request::I18N;
use Data::Dumper;
sub handler {
my $r = shift;
$r = Apache::Request::I18N->instance($r);
t/response/TestApReqI18N/dump.pm view on Meta::CPAN
$r->send_http_header('text/plain');
my %vars = map +($_, [ $r->param($_) ]), $r->param;
my @uploads = map [$_->name, $_->filename, $_->size], $r->upload;
print Data::Dumper->Dump([\%vars, \@uploads], [qw(*vars *uploads)]);
OK;
}
1;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Bundle/Apache/Roaming.pm view on Meta::CPAN
=head1 CONTENTS
File::Spec
Data::Dumper
Apache
Apache::Roaming
lib/Bundle/Apache/Roaming.pm view on Meta::CPAN
specified in the Perl README file.
=head1 SEE ALSO
L<CPAN(3)>, L<File::Spec(3)>, L<Data::Dumper(3)>, L<Apache(3)>,
L<Apache::Roaming(3)>
=cut
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Apache/SWIT/Security/Maker.pm view on Meta::CPAN
}
package Apache::SWIT::Security::Maker;
use base 'Apache::SWIT::Subsystem::Maker';
use Apache::SWIT::Security::Role::Loader;
use Data::Dumper;
use YAML;
use Apache::SWIT::Maker::Config;
use Apache::SWIT::Maker::Manifest;
use Apache::SWIT::Maker::Conversions;
use File::Slurp;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Apache/SWIT.pm view on Meta::CPAN
use strict;
use warnings FATAL => 'all';
package Apache::SWIT;
use Carp;
use Data::Dumper;
use File::Slurp;
our $VERSION = 0.54;
sub swit_startup {}
lib/Apache/SWIT.pm view on Meta::CPAN
}
=head2 $class->swit_die($msg, $r, @data_to_dump)
Dies with first line of C<$msg> using Carp::croak and dumps request C<$r> and
C<@data_to_dump> with Data::Dumper into /tmp/swit_<time>.err file.
=cut
sub swit_die {
my ($class, $msg, $r, @more) = @_;
my $err = (split(/\n/, $msg))[0];
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Apache/SdnFw.pm view on Meta::CPAN
my $s;
eval {
$s = Apache::SdnFw::lib::Core->new(%options);
$s->process();
#croak "test".Data::Dumper->Dump([$s]);
};
if ($options{env}{DBDEBUG}) {
_end_dbdebug($s);
}
view all matches for this distribution
view release on metacpan or search on metacpan
utils/minstren view on Meta::CPAN
# This is open-source software.
# See file 'COPYING' in original distribution for complete details.
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
use Getopt::Std;
use Data::Dumper;
$Data::Dumper::Indent = 1;
$Data::Dumper::Terse = 1;
$usage = "usage: $0 [-c <cipher_string>]\n";
getopts('c:') || die $usage;
$ciphercmd = '/usr/bin/openssl ciphers -v';
view all matches for this distribution
view release on metacpan or search on metacpan
t/Apache-Session-Browseable-Redis.t view on Meta::CPAN
# Choose your browseable fileds
Index => 'uid sn mail int2',
};
use Data::Dumper;
my $id;
my $json;
is( keys %{ $r->keys('*') }, 0, "Make sure database is empty" );
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Apache/Session/Store/Memcached.pm view on Meta::CPAN
readonly => $session->{args}->{ReadOnly},
debug => $session->{args}->{Debug},
compress_threshold => $session->{args}->{CompressThreshold} || 10_000,
);
#use Data::Dumper;
#print STDERR Dumper $session->{args};
my $memd = new Cache::Memcached \%opts;
$self->{cache} = $memd;
bless $self,$class;
view all matches for this distribution