view release on metacpan or search on metacpan
CONTRIBUTING.md view on Meta::CPAN
Dependencies for this module are recorded in the `META.json` file.
Installation is most easily done with `cpanminus`[1], which can be
made available locally via:
$ curl -L https://cpanmin.us/ -o cpanm
$ chmod +x cpanm
To install the dependencies into a local directory (to avoid polluting
your Perl distribution),
$ export PERL5LIB=${PERL5LIB}:$PWD/local
view all matches for this distribution
view release on metacpan or search on metacpan
builder/Alien/Xmake/Builder.pm view on Meta::CPAN
if ( $p->is_dir ) {
$target->mkpath;
}
else {
$p->copy($target) or die "Failed to copy $p to $target: $!";
$target->chmod( $p->stat->mode );
}
}
}
method _run_cmd (@args) {
view all matches for this distribution
view release on metacpan or search on metacpan
inc/My/Build.pm view on Meta::CPAN
$lib =~ s/^sub inc_dir.*$/sub inc_dir { "$vars{inc_dir}" }/m;
$lib =~ s/^sub lib_dir.*$/sub lib_dir { "$vars{lib_dir}" }/m;
$lib =~ s/^sub inc_version.*$/sub inc_version { v$vars{inc_version} }/m;
$lib =~ s/^sub lib_version.*$/sub lib_version { v$vars{lib_version} }/m;
my @stats = stat $module;
chmod 0644, $module;
open $LIB, '>', $module or die "Cannot write config to module";
print $LIB $lib;
close $LIB;
chmod $stats[2], $module;
open my $TARGET, '>', "build-zeromq";
print $TARGET time, "\n";
close $TARGET;
}
view all matches for this distribution
view release on metacpan or search on metacpan
" \$ENV{trailer_m4} ||= File::Spec->catdir(\$dist_dir, 'share/autoconf/autoconf/trailer.m4');\n",
"}\n",
@lines
);
$exe->spew($shebang, @lines);
$exe->chmod("0755");
}
elsif($shebang =~ /^#!.*sh/)
{
@lines = (
": \${AUTOM4TE=`alien_autoconf_root`'/bin/autom4te'}\n",
": \${trailer_m4=`alien_autoconf_root`'/share/autoconf/autoconf/trailer.m4'}\n",
@lines
);
$exe->spew($shebang, @lines);
$exe->chmod("0755");
}
}
# patch autom4te config
{
"my \@d = File::Spec->splitdir(\$d);\n",
"pop \@d for 1..2;\n",
"my \$dist_dir = File::Spec->catpath(\$v,File::Spec->catdir(\@d), '');\n",
"print \$dist_dir\n",
);
$exe->chmod('0700');
}
},
);
};
view all matches for this distribution
view release on metacpan or search on metacpan
'AC''_INIT([smoke-test], [1])' \
'AC''_OUTPUT'
END_OF_PATCH
s{echo 'AC'"_PREREQ\(\[\$required_autoconf_version\]\)" > conftest/conftest.ac}{$replace};
});
Path::Tiny->new('configure')->chmod(0755);
# https://debbugs.gnu.org/cgi/bugreport.cgi?bug=20903
# bug in automake: it puts the @datadir@ in double quotes
# in one place in bin/aclocal, which causes Perl to barf
# if prefix has an at sign (@) in it. This is commonly
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/bz2/Installer.pm view on Meta::CPAN
die "make all failed" if $?;
system $make, 'install', "PREFIX=$prefix";
die "make install failed" if $?;
mkdir(_catdir($prefix, 'dll'));
File::Copy::copy('libbz2.so.1.0.6', _catfile($prefix, 'dll', 'libbz2.so.1.0.6'));
eval { chmod 0755, _catfile($prefix, 'dll', 'libbz2.so.1.0.6') };
}
my $build = bless {
cflags => [ "-I" . _catdir($prefix, 'include') ],
libs => [ "-L" . _catdir($prefix, 'lib'), '-lbz2' ],
view all matches for this distribution
view release on metacpan or search on metacpan
libcares/Makefile.in view on Meta::CPAN
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)
am__remove_distdir = \
if test -d "$(distdir)"; then \
find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
&& rm -rf "$(distdir)" \
|| { sleep 5 && rm -rf "$(distdir)"; }; \
else :; fi
am__post_remove_distdir = $(am__remove_distdir)
am__relativize = \
libcares/Makefile.in view on Meta::CPAN
for file in $$dist_files; do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
if test -d $$d/$$file; then \
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
if test -d "$(distdir)/$$file"; then \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
else \
test -f "$(distdir)/$$file" \
|| cp -p $$d/$$file "$(distdir)/$$file" \
libcares/Makefile.in view on Meta::CPAN
$(MAKE) $(AM_MAKEFLAGS) \
top_distdir="$(top_distdir)" distdir="$(distdir)" \
dist-hook
-test -n "$(am__skip_mode_fix)" \
|| find "$(distdir)" -type d ! -perm -755 \
-exec chmod u+rwx,go+rx {} \; -o \
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
|| chmod -R a+r "$(distdir)"
dist-gzip: distdir
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
$(am__post_remove_distdir)
dist-bzip2: distdir
libcares/Makefile.in view on Meta::CPAN
*.shar.gz*) \
GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
*.zip*) \
unzip $(distdir).zip ;;\
esac
chmod -R a-w $(distdir)
chmod u+w $(distdir)
mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
chmod a-w $(distdir)
test -d $(distdir)/_build || exit 0; \
dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
&& dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
&& am__cwd=`pwd` \
&& $(am__cd) $(distdir)/_build/sub \
libcares/Makefile.in view on Meta::CPAN
&& $(MAKE) $(AM_MAKEFLAGS) install \
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
&& $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
distuninstallcheck \
&& chmod -R a-w "$$dc_install_base" \
&& ({ \
(cd ../.. && umask 077 && mkdir "$$dc_destdir") \
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
view all matches for this distribution
view release on metacpan or search on metacpan
patch/flex-2.6.4.diff view on Meta::CPAN
$(am__remove_distdir)
test -d "$(distdir)" || mkdir "$(distdir)"
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
@@ -700,7 +700,7 @@ distdir: $(DISTFILES)
! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
|| chmod -R a+r "$(distdir)"
dist-gzip: distdir
- tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
+ tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
$(am__post_remove_distdir)
view all matches for this distribution
view release on metacpan or search on metacpan
open my $ofh, '>', $geos_config
or die "Could not open $geos_config for writing, $!";
print {$ofh} $file_contents;
$ofh->close or die $!;
# make sure we get the same permissions
chmod $permissions, $geos_config or die $!;
return;
}
sub set_runtime_props_from_config {
my ($build) = @_;
view all matches for this distribution
view release on metacpan or search on metacpan
my @build = (
'%{make_path} %{.install.prefix}/bin',
"%{cp} %{.install.extract}/$asset_name %{.install.prefix}/bin/$exe",
);
push @build, "chmod +x %{.install.prefix}/bin/$exe" unless $^O eq 'MSWin32';
build \@build;
}
elsif(my $go = which('go'))
{
view all matches for this distribution
view release on metacpan or search on metacpan
"my \@d = File::Spec->splitdir(\$d);\n",
"pop \@d for 1..2;\n",
"my \$dist_dir = File::Spec->catpath(\$v,File::Spec->catdir(\@d), '');\n",
"print \$dist_dir\n",
);
$exe->chmod('0700');
}
},
);
};
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Alien/pdf2json/ModuleBuild.pm view on Meta::CPAN
my $pdf2json_src = File::Spec->catfile( $dir, 'src', 'pdf2json' );
my $pdf2json_tgt = File::Spec->catfile( $bin_dir, 'pdf2json' );
# needed for test to pass
copy $pdf2json_src, $pdf2json_tgt;
chmod '0755', $pdf2json_tgt; # rwxr-xr-x
}
return $ret;
}
}
view all matches for this distribution
view release on metacpan or search on metacpan
script/stage.pl view on Meta::CPAN
}
else
{
cp($from, $to) || die "Copy $from => $to failed $!";
# Perl 5.8 and 5.10 cp doesn't preserve perms apparently
eval { chmod 0755, $to } if -x $from && $] < 5.012;
}
}
}
closedir $dh;
}
view all matches for this distribution
view release on metacpan or search on metacpan
$bindir->mkpath;
my $target = $bindir->child($executable);
$binary->copy($target);
$target->chmod(0755);
$build->runtime_prop->{command} = $target->basename;
};
};
view all matches for this distribution
view release on metacpan or search on metacpan
$text =~ s/(freebsd\[123?\])\*/$1.*/gms;
rename $fname, "$fname.bak";
open my $ofh, '>', $fname or die $!;
print {$ofh} $text;
$ofh->close;
chmod $permissions, $fname;
}
return;
}
view all matches for this distribution
view release on metacpan or search on metacpan
libuv/test/test-pipe-connect-prepare.c
libuv/test/test-pipe-getsockname.c
libuv/test/test-pipe-pending-instances.c
libuv/test/test-pipe-sendmsg.c
libuv/test/test-pipe-server-close.c
libuv/test/test-pipe-set-fchmod.c
libuv/test/test-pipe-set-non-blocking.c
libuv/test/test-platform-output.c
libuv/test/test-poll-close-doesnt-corrupt-stack.c
libuv/test/test-poll-close.c
libuv/test/test-poll-closesocket.c
view all matches for this distribution
view release on metacpan or search on metacpan
script/applypatch view on Meta::CPAN
#$mode = 0666 unless $mode; # sanity
print STDERR ("+ create $fn\n") if $trace;
open (F, '>'.$fn)
|| die ("Cannot create $fn: $!\n");
close (F);
#printf STDERR ("+ chmod 0%o $fn\n", $mode) if $trace;
#chmod ($mode, $fn)
# || warn sprintf ("WARNING: Cannot chmod 0%o $fn: $!\n", $mode);
}
}
}
script/applypatch view on Meta::CPAN
}
sub set_utime ($$;$) {
my ($fn, $mtime, $mode) = @_;
$mode = (stat ($fn))[2] unless defined $mode;
chmod (0777, $fn)
|| warn ("WARNING: Cannot utime/chmod a+rwx $fn: $!\n");
print STDERR ("+ utime $fn $mtime (".localtime($mtime).")\n") if $trace;
# Set times. Ignore errors for directories since some systems
# (like MSWin32) do not allow directories to be stamped.
utime ($mtime, $mtime, $fn)
|| -d $fn || warn ("WARNING: utime($mtime,$fn): $!\n");
printf STDERR ("+ chmod 0%o $fn\n", $mode) if $trace;
chmod ($mode, $fn)
|| warn sprintf ("WARNING: Cannot utime/chmod 0%o $fn: $!\n", $mode);
}
sub do_unlink ($) {
my ($fn) = @_;
my $mode = (stat($fn))[2];
chmod (0777, $fn)
|| warn ("WARNING: Cannot unlink/chmod a+rwx $fn: $!\n");
print STDERR ("+ unlink $fn\n") if $verbose;
return if unlink ($fn);
warn ("WARNING: Cannot remove $fn: $!\n");
chmod ($mode, $fn)
|| warn sprintf ("WARNING: Cannot unlink/chmod 0%o $fn: $!\n", $mode);
}
sub do_rmdir ($) {
my ($fn) = @_;
my $mode = (stat($fn))[2];
chmod (0777, $fn)
|| warn ("WARNING: Cannot rmdir/chmod a+rwx $fn: $!\n");
print STDERR ("+ rmdir $fn\n") if $verbose;
return if rmdir ($fn);
warn ("WARNING: Cannot rmdir $fn: $!\n");
chmod ($mode, $fn)
|| warn sprintf ("WARNING: Cannot rmdir/chmod 0%o $fn: $!\n", $mode);
}
sub post_patch () {
my $suffix = $ENV{SIMPLE_BACKUP_SUFFIX} || ".orig";
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CWB/Encoder.pm view on Meta::CPAN
=item $idx->group($group);
=item $idx->perm($permission);
Optional group membership and access permissions for newly created
files (otherwise, neither B<chgrp> nor B<chmod> will be called). Note
that I<$permission> must be a string rather than an octal number (as
for the built-in B<chmod> function). Indexing will fail if the
specified group and/or permissions cannot be set.
=cut
sub group {
lib/CWB/Encoder.pm view on Meta::CPAN
foreach my $c (@$creates) {
my $f = $self->filename($att, $c);
croak "CWB::Indexer: Creation of component $att/$c ($f) failed (aborted).\n"
unless -s $f;
if ($perm) {
my $cmd = "chmod $perm '$f'";
print STDERR "CWB::Indexer: exec: $cmd\n"
if $self->{DEBUG};
CWB::Shell::Cmd $cmd;
}
if ($group) {
lib/CWB/Encoder.pm view on Meta::CPAN
=item $enc->group($group);
=item $enc->perm($permission);
Optional group membership and access permissions for newly created
files (otherwise, neither B<chgrp> nor B<chmod> will be called). Note
that I<$permission> must be a string rather than an octal number (as
for the built-in B<chmod> function). Encoding will fail if the
specified group and/or permissions cannot be set. If the data
directory has to be created, its access permissions and group
membership are set accordingly.
=cut
lib/CWB/Encoder.pm view on Meta::CPAN
croak "CWB::Encoder: Can't create data directory $dir\n"
unless mkdir $dir;
my $perm = $self->{PERM};
if ($perm) {
$perm =~ tr[642][753]; # derive directory permissions
CWB::Shell::Cmd("chmod $perm '$dir'");
$perm = "(chmod $perm)";
}
else {
$perm = "";
}
my $group = $self->{GROUP};
lib/CWB/Encoder.pm view on Meta::CPAN
if $self->{VERBOSE};
foreach my $att (@{$self->{PATT}}) { # positional attributes
my $pattern = "'$dir'/$att.*";
print STDERR "CWB::Encoder: processing group $pattern\n"
if $self->{DEBUG} and ($perm or $group);
CWB::Shell::Cmd("chmod $perm $pattern")
if $perm;
CWB::Shell::Cmd("chgrp $group $pattern")
if $group;
}
foreach my $attspec (@{$self->{SATT}}) { # structural attributes
lib/CWB/Encoder.pm view on Meta::CPAN
foreach my $n ("", 1 .. $rec) { # indices of embedded regions
foreach my $ext ("", map {"_$_"} @xmlatts) { # extensions for XML tag attributes
my $pattern = "'$dir'/$att$ext$n.*";
print STDERR "CWB::Encoder: processing group $pattern\n"
if $self->{DEBUG} and ($perm or $group);
CWB::Shell::Cmd("chmod $perm $pattern")
if $perm;
CWB::Shell::Cmd("chgrp $group $pattern")
if $group;
}
}
lib/CWB/Encoder.pm view on Meta::CPAN
if $self->{VERBOSE};
my $infofile = "$dir/.info";
my $fh = CWB::OpenFile "> $infofile";
print $fh $self->{INFO}, "\n";
$fh->close;
CWB::Shell::Cmd("chmod $perm '$infofile'")
if $perm;
CWB::Shell::Cmd("chgrp $group '$infofile'")
if $group;
print "Editing registry entry ...\n" # edit registry file
lib/CWB/Encoder.pm view on Meta::CPAN
$rf->write($regfile);
print STDERR "CWB::Encoder: registry entry $regfile has been edited\n"
if $self->{DEBUG};
print STDERR "CWB::Encoder: setting access permissions for $regfile\n"
if $self->{DEBUG} and ($perm or $group);
CWB::Shell::Cmd("chmod $perm '$regfile'")
if $perm;
CWB::Shell::Cmd("chgrp $group '$regfile'")
if $group;
my $idx = new CWB::Indexer "$reg:".(uc $name); # build indices and compress p-attributes
view all matches for this distribution
view release on metacpan or search on metacpan
check_type_and_open|5.009003||Viu
check_uni|5.003007||Viu
check_utf8|5.008000||Viu
check_utf8_print|5.013009||Viu
child_offset_bits|5.009003||Viu
chmod|5.005000||Viu
chsize|5.005000||Viu
ckDEAD|5.006000||Viu
ck_entersub_args_core|||iu
ck_entersub_args_list|5.013006|5.013006|
ck_entersub_args_proto|5.013006|5.013006|
KEY_break|5.027008||Viu
KEY_caller|5.003007||Viu
KEY_catch|5.033007||Viu
KEY_chdir|5.003007||Viu
KEY_CHECK|5.006000||Viu
KEY_chmod|5.003007||Viu
KEY_chomp|5.003007||Viu
KEY_chop|5.003007||Viu
KEY_chown|5.003007||Viu
KEY_chr|5.003007||Viu
KEY_chroot|5.003007||Viu
Perl_langinfo|5.027004|5.027004|n
PERL_LANGINFO_H|5.027004||Viu
PERL_LAST_5_18_0_INTERP_MEMBER|5.017009||Viu
Perl_ldexp|5.021003|5.021003|n
PerlLIO_access|5.005000||Viu
PerlLIO_chmod|5.005000||Viu
PerlLIO_chown|5.005000||Viu
PerlLIO_chsize|5.005000||Viu
PerlLIO_close|5.005000||Viu
PerlLIO_dup2|5.005000||Viu
PerlLIO_dup2_cloexec|5.027008||Viu
Perl_pp_aelemfast_lex|5.015000||Viu
Perl_pp_andassign|5.013009||Viu
Perl_pp_avalues|5.013009||Viu
Perl_pp_bind|5.013009||Viu
Perl_pp_bit_xor|5.013009||Viu
Perl_pp_chmod|5.013009||Viu
Perl_pp_chomp|5.013009||Viu
Perl_pp_connect|5.013009||Viu
Perl_pp_cos|5.013009||Viu
Perl_pp_custom|5.013009||Viu
Perl_pp_dbmclose|5.013009||Viu
view all matches for this distribution
view release on metacpan or search on metacpan
my $mainpmfile = $self->base_dir() . "/lib/Alvis/NLPPlatform.pm";
require File::Copy;
my $n = FileHandle->new($mainpmfile,"r");
chmod(0644, $mainpmfile);
if (!( -f "$mainpmfile.orig") ) {
File::Copy::copy($mainpmfile, "$mainpmfile.orig");
}
my $line;
open MAINPMFILE, "$mainpmfile.orig" or die "No such file ($mainpmfile.orig)\n";
warn "Setting the default location of Default.xsl and SupplMagicFile in /etc/alvis-nlpplatform/nlpplatform.rc\n";
require File::Copy;
$n = FileHandle->new($originalrcfile,"r");
chmod(0644, $originalrcfile);
if (!( -f "$originalrcfile.orig") ) {
File::Copy::copy($originalrcfile, "$originalrcfile.orig");
}
open ORIGINALRCFILE, "$originalrcfile.orig" or die "No such file ($originalrcfile.orig)\n";
open ORIGINALRCFILEDEST, ">$originalrcfile" or die "Can not open file $originalrcfile\n";
view all matches for this distribution
view release on metacpan or search on metacpan
install_helpers/pod_merge.pl view on Meta::CPAN
mkpath( dirname($t_out) ) unless -d dirname($t_out);
if (-e $t_out)
{
chmod 0644, $t_out or die "Can't chmod '$t_out' to 644: $!";
}
open TO, ">$t_out" or die "Can't write to '$t_out': $!";
print TO $to or die "Can't write to '$t_out': $!";
close TO or die "Can't write to '$t_out': $!";
chmod 0644, $t_out or die "Can't chmod '$t_out' to 444: $!";
for ( $file, $t_out ) { s,^.*(?=Alzabo),,; s/\.pm$//; s,[\\/],::,g; }
print "merged $file docs into $t_out\n" if $verbose;
}
view all matches for this distribution
view release on metacpan or search on metacpan
* TESTING.md: removed
* Makefile.am: add cpan
* README.md: updates
* src/main/perl/bin/Makefile.am
- move examples
- chmod +x
* src/main/perl/bin/QueueDaemon.pl.in
- major update and refactor
* src/main/perl/lib/Amazon/SQS/Client.pm.in: likewise
* src/main/perl/lib/Amazon/SQS/Config.pm.in: likewise
* src/main/perl/lib/Makefile.am
view all matches for this distribution
view release on metacpan or search on metacpan
# --- MakeMaker tools_other section:
SHELL = /bin/sh
CHMOD = chmod
CP = cp
LD = gcc
MV = mv
NOOP = $(SHELL) -c true
RM_F = rm -f
POD2MAN_EXE = /usr/bin/pod2man
POD2MAN = $(PERL) -we '%m=@ARGV;for (keys %m){' \
-e 'next if -e $$m{$$_} && -M $$m{$$_} < -M $$_ && -M $$m{$$_} < -M "Makefile";' \
-e 'print "Manifying $$m{$$_}\n";' \
-e 'system(qq[$$^X ].q["-I$(PERL_ARCHLIB)" "-I$(PERL_LIB)" $(POD2MAN_EXE) ].qq[$$_>$$m{$$_}])==0 or warn "Couldn\047t install $$m{$$_}\n";' \
-e 'chmod(oct($(PERM_RW))), $$m{$$_} or warn "chmod $(PERM_RW) $$m{$$_}: $$!\n";}'
manifypods : pure_all Amethyst.pm \
Amethyst/Brain/Infobot/Module/Purldoc.pm
@$(POD2MAN) \
Amethyst.pm \
view all matches for this distribution
view release on metacpan or search on metacpan
# --- MakeMaker tool_xsubpp section:
# --- MakeMaker tools_other section:
CHMOD = $(ABSPERLRUN) -MExtUtils::Command -e chmod --
CP = $(ABSPERLRUN) -MExtUtils::Command -e cp --
MV = $(ABSPERLRUN) -MExtUtils::Command -e mv --
NOOP = rem
NOECHO = @
RM_F = $(ABSPERLRUN) -MExtUtils::Command -e rm_f --
view all matches for this distribution
view release on metacpan or search on metacpan
t/features/graph/output-file.feature view on Meta::CPAN
And the exit status must not be 0
Scenario: passing output file without permission to write
Given I am in .
When I run "touch output.tmp"
And I run "chmod 000 output.tmp"
And I run "analizo graph --output output.tmp t/samples/sample_basic/c/"
Then the exit status must not be 0
And analizo must emit a warning matching "Permission denied"
view all matches for this distribution
view release on metacpan or search on metacpan
Makefile.old view on Meta::CPAN
# --- MakeMaker tools_other section:
SHELL = /bin/sh
CHMOD = chmod
CP = cp
LD = gcc
MV = mv
NOOP = $(SHELL) -c true
RM_F = rm -f
Makefile.old view on Meta::CPAN
POD2MAN_EXE = /usr/bin/pod2man
POD2MAN = $(PERL) -we '%m=@ARGV;for (keys %m){' \
-e 'next if -e $$m{$$_} && -M $$m{$$_} < -M $$_ && -M $$m{$$_} < -M "Makefile";' \
-e 'print "Manifying $$m{$$_}\n";' \
-e 'system(q[$(PERLRUN) $(POD2MAN_EXE) ].qq[$$_>$$m{$$_}])==0 or warn "Couldn\047t install $$m{$$_}\n";' \
-e 'chmod(oct($(PERM_RW)), $$m{$$_}) or warn "chmod $(PERM_RW) $$m{$$_}: $$!\n";}'
manifypods : pure_all SqlLink.pm
@$(POD2MAN) \
SqlLink.pm \
$(INST_MAN3DIR)/Ananke::SqlLink.$(MAN3EXT)
view all matches for this distribution
view release on metacpan or search on metacpan
Makefile.old view on Meta::CPAN
# --- MakeMaker tools_other section:
SHELL = /bin/sh
CHMOD = chmod
CP = cp
LD = gcc
MV = mv
NOOP = $(SHELL) -c true
RM_F = rm -f
Makefile.old view on Meta::CPAN
POD2MAN_EXE = /usr/bin/pod2man
POD2MAN = $(PERL) -we '%m=@ARGV;for (keys %m){' \
-e 'next if -e $$m{$$_} && -M $$m{$$_} < -M $$_ && -M $$m{$$_} < -M "Makefile";' \
-e 'print "Manifying $$m{$$_}\n";' \
-e 'system(q[$(PERLRUN) $(POD2MAN_EXE) ].qq[$$_>$$m{$$_}])==0 or warn "Couldn\047t install $$m{$$_}\n";' \
-e 'chmod(oct($(PERM_RW)), $$m{$$_}) or warn "chmod $(PERM_RW) $$m{$$_}: $$!\n";}'
manifypods : pure_all Template.pm
@$(POD2MAN) \
Template.pm \
$(INST_MAN3DIR)/Ananke::Template.$(MAN3EXT)
view all matches for this distribution
view release on metacpan or search on metacpan
Makefile.old view on Meta::CPAN
# --- MakeMaker tools_other section:
SHELL = /bin/sh
CHMOD = chmod
CP = cp
LD = gcc
MV = mv
NOOP = $(SHELL) -c true
RM_F = rm -f
Makefile.old view on Meta::CPAN
POD2MAN_EXE = /usr/bin/pod2man
POD2MAN = $(PERL) -we '%m=@ARGV;for (keys %m){' \
-e 'next if -e $$m{$$_} && -M $$m{$$_} < -M $$_ && -M $$m{$$_} < -M "Makefile";' \
-e 'print "Manifying $$m{$$_}\n";' \
-e 'system(q[$(PERLRUN) $(POD2MAN_EXE) ].qq[$$_>$$m{$$_}])==0 or warn "Couldn\047t install $$m{$$_}\n";' \
-e 'chmod(oct($(PERM_RW)), $$m{$$_}) or warn "chmod $(PERM_RW) $$m{$$_}: $$!\n";}'
manifypods : pure_all Utils.pm
@$(POD2MAN) \
Utils.pm \
$(INST_MAN3DIR)/Ananke::Utils.$(MAN3EXT)
view all matches for this distribution
view release on metacpan or search on metacpan
bench/file.pl view on Meta::CPAN
print "All file:: functions:\n";
print " I/O: slurp, slurp_raw, spew, append, atomic_spew\n";
print " Lines: lines, lines_iter, each_line, head, tail\n";
print " Stat: size, mtime, atime, ctime, mode, exists\n";
print " Type: is_file, is_dir, is_link, is_readable, is_writable, is_executable\n";
print " Ops: unlink, copy, move, touch, chmod, mkdir, rmdir, readdir\n";
print " Path: basename, dirname, extname, join\n";
print " Memory: mmap_open (returns object with data, sync, close methods)\n";
view all matches for this distribution