From 08ff88ec31572071c5e5dbe6fad51578814c4bd9 Mon Sep 17 00:00:00 2001 From: Brian West Date: Fri, 7 Nov 2014 07:26:31 -0600 Subject: [PATCH] Might needs this for testing. --- scripts/perl/mkgws.pl | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 scripts/perl/mkgws.pl diff --git a/scripts/perl/mkgws.pl b/scripts/perl/mkgws.pl new file mode 100644 index 0000000000..6743c969d0 --- /dev/null +++ b/scripts/perl/mkgws.pl @@ -0,0 +1,37 @@ +#!/usr/bin/perl +# +# Make bulk gateway xml from csv file. +# + +open(CSV, "gateways.csv"); +my @data = ; +close(CSV); + +foreach my $line (@data) { + chomp($line); + my ($gwname, $username, $password) = split(/,/, $line); + print < + + + + + + + + + + + + + + + + + + + + +XML + +}