Linux cpanel2.daytoncreative.net 2.6.32-754.29.2.el6.x86_64 #1 SMP Tue May 12 17:39:04 UTC 2020 x86_64
Apache/2.4.43 (cPanel) OpenSSL/1.1.1g mod_bwlimited/1.4
Server IP : 70.62.220.67 & Your IP : 216.73.216.193
Domains :
Cant Read [ /etc/named.conf ]
User : michaelgreg
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
log /
perl-5.20.2 /
Porting /
Delete
Unzip
Name
Size
Permission
Date
Action
GitUtils.pm
2.38
KB
-r--r--r--
2014-12-27 11:48
Glossary
205.51
KB
-r--r--r--
2014-12-27 11:49
Maintainers
194
B
-r--r--r--
2014-12-27 11:48
Maintainers.pl
45.95
KB
-r-xr-xr-x
2015-01-31 21:59
Maintainers.pm
8.68
KB
-r--r--r--
2014-12-27 11:48
README.pod
10.3
KB
-r--r--r--
2014-12-27 11:49
README.y2038
3.46
KB
-r--r--r--
2014-12-27 11:48
acknowledgements.pl
5.05
KB
-r--r--r--
2014-12-27 11:48
add-package.pl
17.12
KB
-r-xr-xr-x
2014-12-27 11:49
bisect-example.sh
1.25
KB
-r-xr-xr-x
2014-12-27 11:48
bisect-runner.pl
116.34
KB
-r-xr-xr-x
2014-12-27 11:49
bisect.pl
7.44
KB
-r-xr-xr-x
2014-12-27 11:49
bump-perl-version
9.93
KB
-r--r--r--
2014-12-27 11:49
check-cpan-pollution
6.24
KB
-r--r--r--
2014-12-27 11:48
check83.pl
2.22
KB
-r-xr-xr-x
2014-12-27 11:48
checkAUTHORS.pl
44.08
KB
-r-xr-xr-x
2014-12-27 11:49
checkURL.pl
15.01
KB
-r-xr-xr-x
2014-12-27 11:48
checkVERSION.pl
975
B
-r-xr-xr-x
2014-12-27 11:48
checkansi.pl
2
KB
-r-xr-xr-x
2014-12-27 11:48
checkcfgvar.pl
4.21
KB
-r-xr-xr-x
2014-12-27 11:49
checkpodencoding.pl
1.41
KB
-r-xr-xr-x
2014-12-27 11:48
cherrymaint
2.46
KB
-r--r--r--
2014-12-27 11:48
cmpVERSION.pl
6.84
KB
-r-xr-xr-x
2015-01-31 22:11
config.sh
36.38
KB
-r--r--r--
2015-01-28 21:08
config_H
142.35
KB
-r--r--r--
2015-01-28 21:08
config_h.pl
1.85
KB
-r-xr-xr-x
2014-12-27 11:48
core-cpan-diff
23.37
KB
-r--r--r--
2014-12-27 11:48
corecpan.pl
4.52
KB
-r-xr-xr-x
2014-12-27 11:48
corelist-diff
644
B
-r--r--r--
2014-12-27 11:48
corelist-perldelta.pl
30.44
KB
-r-xr-xr-x
2014-12-27 11:49
corelist.pl
15.51
KB
-r-xr-xr-x
2015-01-31 13:38
epigraphs.pod
128.86
KB
-r--r--r--
2015-02-01 03:54
exec-bit.txt
1.28
KB
-r--r--r--
2014-12-27 11:49
exercise_makedef.pl
2.27
KB
-r--r--r--
2014-12-27 11:48
expand-macro.pl
3.68
KB
-r-xr-xr-x
2014-12-27 11:48
findrfuncs
3.07
KB
-r-xr-xr-x
2014-12-27 11:48
git-deltatool
21.11
KB
-r--r--r--
2014-12-27 11:48
git-find-p4-change
905
B
-r--r--r--
2014-12-27 11:48
git-make-p4-refs
405
B
-r--r--r--
2014-12-27 11:48
how_to_write_a_perldelta.pod
7.83
KB
-r--r--r--
2014-12-27 11:48
leakfinder.pl
6.06
KB
-r--r--r--
2014-12-27 11:48
make-rmg-checklist
2.82
KB
-r--r--r--
2014-12-27 11:48
make_dot_patch.pl
1022
B
-r-xr-xr-x
2014-12-27 11:48
make_modlib_cpan.pl
1.93
KB
-r--r--r--
2014-12-27 11:48
make_snapshot.pl
2.33
KB
-r-xr-xr-x
2014-12-27 11:48
makemeta
3.29
KB
-r--r--r--
2014-12-27 11:49
makerel
6.88
KB
-r-xr-xr-x
2014-12-27 11:49
manicheck
644
B
-r--r--r--
2014-12-27 11:48
manisort
1.71
KB
-r--r--r--
2014-12-27 11:48
new-perldelta.pl
3.23
KB
-r--r--r--
2014-12-27 11:48
newtests-perldelta.pl
1.78
KB
-r-xr-xr-x
2014-12-27 11:48
perldelta_template.pod
9.35
KB
-r--r--r--
2015-01-28 21:08
perlhist_calculate.pl
2.65
KB
-r-xr-xr-x
2014-12-27 11:49
pod_lib.pl
17.62
KB
-r--r--r--
2014-12-27 11:49
pod_rules.pl
7.27
KB
-r--r--r--
2014-12-27 11:48
podtidy
303
B
-r--r--r--
2014-12-27 11:48
pumpkin.pod
51.48
KB
-r--r--r--
2014-12-27 11:49
release_announcement_template.txt
845
B
-r--r--r--
2015-01-15 22:12
release_managers_guide.pod
47.51
KB
-r--r--r--
2015-02-01 00:05
release_schedule.pod
3.39
KB
-r--r--r--
2015-01-31 17:19
rt_list_patches
678
B
-r--r--r--
2014-12-27 11:48
sort_perldiag.pl
1.38
KB
-r-xr-xr-x
2014-12-27 11:48
sync-with-cpan
11.7
KB
-r-xr-xr-x
2014-12-27 11:49
timecheck.c
3.52
KB
-r--r--r--
2014-12-27 11:48
timecheck2.c
2.69
KB
-r--r--r--
2014-12-27 11:48
todo.pod
47.26
KB
-r--r--r--
2015-01-28 21:08
valgrindpp.pl
9.44
KB
-r-xr-xr-x
2014-12-27 11:48
Save
Rename
#!perl -w use strict; use Pod::Usage; use Getopt::Std; use Config; $Getopt::Std::STANDARD_HELP_VERSION = 1; my $trysource = "try.c"; my $tryout = "try.i"; getopts('fF:ekvI:X', \my %opt) or pod2usage(); my($expr, @headers) = @ARGV ? splice @ARGV : "-"; pod2usage "-f and -F <tool> are exclusive\n" if $opt{f} and $opt{F}; foreach($trysource, $tryout) { unlink $_ if $opt{e}; die "You already have a $_" if -e $_; } if ($expr eq '-') { warn "reading from stdin...\n"; $expr = do { local $/; <> }; } my($macro, $args) = $expr =~ /^\s*(\w+)((?:\s*\(.*\))?)\s*;?\s*$/s or pod2usage "$expr doesn't look like a macro-name or macro-expression to me"; if (!(@ARGV = @headers)) { open my $fh, '<', 'MANIFEST' or die "Can't open MANIFEST: $!"; while (<$fh>) { push @ARGV, $1 if m!^([^/]+\.h)\t!; } push @ARGV, 'config.h' if -f 'config.h'; } my $header; while (<>) { next unless /^#\s*define\s+$macro\b/; my ($def_args) = /^#\s*define\s+$macro\(([^)]*)\)/; if (defined $def_args && !$args) { my @args = split ',', $def_args; print "# macro: $macro args: @args in $_\n" if $opt{v}; my $argname = "A0"; $args = '(' . join (', ', map {$argname++} 1..@args) . ')'; } $header = $ARGV; last; } die "$macro not found\n" unless defined $header; if ($^O =~ /MSWin(32|64)/) { # The Win32 (and Win64) build process expects to be run from # bleadperl/Win32 chdir "Win32" or die "Couldn't chdir to win32: $!"; }; open my $out, '>', $trysource or die "Can't open $trysource: $!"; my $sentinel = "$macro expands to"; # These two are included from perl.h, and perl.h sometimes redefines their # macros. So no need to include them. my %done_header = ('embed.h' => 1, 'embedvar.h' => 1); sub do_header { my $header = shift; return if $done_header{$header}++; print $out qq{#include "$header"\n}; } print $out <<'EOF' if $opt{X}; /* Need to do this like this, as cflags.sh sets it for us come what may. */ #undef PERL_CORE EOF do_header('EXTERN.h'); do_header('perl.h'); do_header($header); do_header('XSUB.h') if $opt{X}; print $out <<"EOF"; #line 4 "$sentinel" $macro$args EOF close $out or die "Can't close $trysource: $!"; print "doing: $Config{make} $tryout\n" if $opt{v}; my $cmd = "$Config{make} $tryout"; system( $cmd ) == 0 or die "Couldn't launch [$cmd]: $! / $?"; # if user wants 'indent' formatting .. my $out_fh; if ($opt{f} || $opt{F}) { # a: indent is a well behaved filter when given 0 arguments, reading from # stdin and writing to stdout # b: all our braces should be balanced, indented back to column 0, in the # headers, hence everything before our #line directive can be ignored # # We can take advantage of this to reduce the work to indent. my $indent_command = $opt{f} ? 'indent' : $opt{F}; if (defined $opt{I}) { $indent_command .= " $opt{I}"; } open $out_fh, '|-', $indent_command or die $?; } else { $out_fh = \*STDOUT; } { open my $fh, '<', $tryout or die "Can't open $tryout: $!"; while (<$fh>) { print $out_fh $_ if /$sentinel/o .. 1; } }; unless ($opt{k}) { foreach($trysource, $tryout) { die "Can't unlink $_: $!" unless unlink $_; } } __END__ =head1 NAME expand-macro.pl - expand C macros using the C preprocessor =head1 SYNOPSIS expand-macro.pl [options] [ < macro-name | macro-expression | - > [headers] ] options: -f use 'indent' to format output -F <tool> use <tool> to format output (instead of -f) -e erase try.[ic] instead of failing when they're present (errdetect) -k keep them after generating (for handy inspection) -v verbose -I <indent-opts> passed into indent -X include "XSUB.h" (and undefine PERL_CORE) =cut