Plan 9 from Bell Labs’s /usr/web/sources/contrib/gabidiaz/root/sys/src/cmd/perl/ext/Devel/PPPort/ppport_h.PL

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


package Devel::PPPort; 
sub bootstrap {}; 
require "PPPort.pm";
WriteFile("ppport.tmp");
{
    local $/;
    my $old = '';
    my $new = '';
    $old = <FH> if open(FH, "ppport.h");	close FH;
    $new = <FH> if open(FH, "ppport.tmp");	close FH;
    if ($old ne $new) {
	unlink("ppport.h");
	rename("ppport.tmp", "ppport.h");
    }
    unlink("ppport.tmp");
}


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.