From ef76ccd91ecddafb953554b6d4847a651e338d99 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 1 Mar 2011 21:43:21 +0100 Subject: Make options intuitive for both GetOptions-passing and manual setup --- bin/dthumb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/dthumb b/bin/dthumb index fa3f975..bd27f5c 100755 --- a/bin/dthumb +++ b/bin/dthumb @@ -30,7 +30,7 @@ GetOptions( }, ) or die("Please see perldoc -F $0\n"); -my $dthumb = App::Dthumb->new($opt); +my $dthumb = App::Dthumb->new(%{$opt}); my $timer = Time::Progress->new(); -- cgit v1.2.3