This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Deprecate lexical $_
[perl5.git] / cpan / Devel-PPPort / ppport_h.PL
CommitLineData
adfe19db
MHM
1################################################################################
2#
3# ppport_h.PL -- generate ppport.h
4#
5################################################################################
6#
49ef49fe 7# $Revision: 8 $
adfe19db 8# $Author: mhx $
49ef49fe 9# $Date: 2010/03/07 13:16:55 +0100 $
adfe19db
MHM
10#
11################################################################################
12#
49ef49fe 13# Version 3.x, Copyright (C) 2004-2010, Marcus Holland-Moritz.
adfe19db
MHM
14# Version 2.x, Copyright (C) 2001, Paul Marquess.
15# Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
16#
17# This program is free software; you can redistribute it and/or
18# modify it under the same terms as Perl itself.
19#
20################################################################################
21
4a582685 22package Devel::PPPort;
90e434f8 23require "PPPort.pm";
adfe19db
MHM
24rename 'ppport.h', 'ppport.old' if -f 'ppport.h';
25unlink "ppport.old" if WriteFile("ppport.h") && -f 'ppport.h';