summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/efa6
1 files 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);