From 7e2e33ebf89d0fb22681b7d22a0c5e3251368358 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 6 Mar 2009 18:49:16 +0100 Subject: Code cleanup --- bin/efa | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/bin/efa b/bin/efa index ad801df..d39beeb 100755 --- a/bin/efa +++ b/bin/efa @@ -38,10 +38,8 @@ GetOptions( 'debug' => \$debug, ); -$post{place_origin} = $from[0]; -$post{name_origin} = $from[1]; -$post{place_destination} = $to[0]; -$post{name_destination} = $to[1]; +@post{'place_origin','name_origin'} = @from; +@post{'place_destination','name_destination'} = @to; if ($time) { @post{'itdTimeHour','itdTimeMinute'} = split(/:/, $time); -- cgit v1.2.3