summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-03-06 18:49:16 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2009-03-06 18:49:16 +0100
commit7e2e33ebf89d0fb22681b7d22a0c5e3251368358 (patch)
treeb9e903d3fabd788feca25e49b5c6126a28e7084e /bin
parent1f790d80dd0ddc460f8e008bf438973074343197 (diff)
Code cleanup
Diffstat (limited to 'bin')
-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);