Skip to content
Browse files

fix support for command line args @ARGV not @_

  • Loading branch information...
1 parent fff1a00 commit 505461d7a09b9655a05c7ea010c8a7b4ae84b0fa Dale Bewley committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 templates/postgres_stats/postgres_stats.pl
View
2 templates/postgres_stats/postgres_stats.pl
@@ -25,7 +25,7 @@
use warnings;
use strict;
-my ( $fetch, $dbname ) = @_ ;
+my ( $fetch, $dbname ) = @ARGV;
my $dbuser = "postgres";
unless ($fetch ) {

0 comments on commit 505461d

Please sign in to comment.
Something went wrong with that request. Please try again.