Help for this page

Select Code to Download


  1. or download this
        print OUT "<VirtualHost *:80>";
        print OUT $vhost;
        print OUT "</VirtualHost>";
    ->
        print OUT "$start$vhost$finish";
    
  2. or download this
    open(FH, '< vhosts.conf');
    my $content = do {local $/; <FH> };
    ...
        print OUT $vhost;
        close(OUT);
    }