ceph/branches/aleung/security1/web/gen.pl
anwleung 1bfa322a59 creating a security related branch
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1025 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-22 20:07:09 +00:00

15 lines
247 B
Perl
Executable File

#!/usr/bin/perl
use strict;
my $bodyf = shift @ARGV;
my $templatef = 'template.html';
open(O, $bodyf);
my $body = join('',<O>);
close O;
open(O, $templatef);
my $template = join('',<O>);
close O;
$template =~ s/--body--/$body/;
print $template;