diff --git a/bin/efa b/bin/efa index ad801dfdfd52b3a037c3d8a954aace8ca038b728..d39beebc8e2fe46c162759ba96cd22407900b7f3 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);