Permalink
Browse files

fix support for command line args @ARGV not @_

  • Loading branch information...
Dale Bewley
Dale Bewley committed Jan 9, 2012
1 parent fff1a00 commit 505461d7a09b9655a05c7ea010c8a7b4ae84b0fa
Showing with 1 addition and 1 deletion.
  1. +1 −1 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.