… | |
… | |
8 | BEGIN { eval "use Socket ()" } |
8 | BEGIN { eval "use Socket ()" } |
9 | BEGIN { eval "use Fcntl ()" } |
9 | BEGIN { eval "use Fcntl ()" } |
10 | BEGIN { eval "use POSIX ()" } |
10 | BEGIN { eval "use POSIX ()" } |
11 | |
11 | |
12 | open my $fh, ">lib/AnyEvent/constants.pl" |
12 | open my $fh, ">lib/AnyEvent/constants.pl" |
13 | or die "lib/AnyEvent/constants.pl: $_[0]\n"; |
13 | or die "lib/AnyEvent/constants.pl: $!\n"; |
14 | |
14 | |
15 | my $oldstdout = select $fh; |
15 | my $oldstdout = select $fh; |
16 | |
16 | |
17 | print "# automatically generated from constants.pl.PL for perl $] built for $Config{archname}\n"; |
17 | print "# automatically generated from constants.pl.PL for perl $] built for $Config{archname}\n"; |
18 | |
18 | |