diff options
author | elliott_c <ocielliottc@users.noreply.github.com> | 2008-06-17 17:15:26 +0000 |
---|---|---|
committer | elliott_c <ocielliottc@users.noreply.github.com> | 2008-06-17 17:15:26 +0000 |
commit | 1cde0c244a5bbe5a88390b327f5da3eae47909bb (patch) | |
tree | 311b150f6dfa06c7f34ece13f68435ea93105ff7 /generate_export_header.pl | |
parent | 821e676d9ff0c53f73f99ed68bd0113bd3c62add (diff) | |
download | MPC-1cde0c244a5bbe5a88390b327f5da3eae47909bb.tar.gz |
ChangeLogTag: Tue Jun 17 17:16:07 UTC 2008 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'generate_export_header.pl')
-rwxr-xr-x | generate_export_header.pl | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/generate_export_header.pl b/generate_export_header.pl index 9c331112..9582e0ce 100755 --- a/generate_export_header.pl +++ b/generate_export_header.pl @@ -21,17 +21,16 @@ use File::Basename; # Data Section # ****************************************************************** -my($version) = '1.2'; +my $version = '1.2'; # ****************************************************************** # Subroutine Section # ****************************************************************** sub generate_export_header { - my($name) = shift; - my($output) = shift; - my($fh) = new FileHandle(); - my($status) = 0; + my($name, $output) = @_; + my $fh = new FileHandle(); + my $status = 0; if (open($fh, ">$output")) { $name = uc($name); @@ -88,7 +87,7 @@ EOM } sub usageAndExit { - my($str) = shift; + my $str = shift; if (defined $str) { print STDERR "$str\n"; } @@ -101,8 +100,8 @@ sub usageAndExit { # Main Section # ****************************************************************** -my($name) = shift; -my($output) = shift; +my $name = shift; +my $output = shift; if (!defined $name) { usageAndExit(); |