###################################################################### ###################################################################### sub main { my $gen_public = 0; my $version = "0.1"; while ($arg = shift @ARGV) { $gen_public = 1 if ($arg eq "-p"); if ($arg eq "-v") { $version = shift @ARGV; $XLFILE =~ s/v0\.1/v$version/g; } } &print_tagec_xml_hdr(); require "../spr_uc_events.v$version.pl"; foreach my $box (@SPRBoxes) { printf(" \n \n", $box); &create_tagec_recs(\%SPR_UCEventList, $gen_public, $box); printf(" \n \n"); } my $coreevents = "core_events.xml"; if (-f $coreevents) { open(COREXML, $coreevents ) || die("Cannot Open $coreevents"); printf while ; } &print_tagec_xml_tail(); }