diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-07-14 14:27:20 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-07-14 14:27:20 +0800 |
commit | 23eb546f7efe962914e8b745f687dbcbfe08d707 (patch) | |
tree | caa3e1e583a158ed0a7a9c6554ff77a1c523711d /config | |
parent | c095b8fa445adceb58e5dd59c59cad17d23a9bc4 (diff) |
Variables declared in one line
given when worked too when you use "use v5.10;", for example;
but it's considered experimental by IC, that there's a warning.
So we'll stick with if else.
Diffstat (limited to 'config')
-rw-r--r-- | config/pikul_cost.tag | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/config/pikul_cost.tag b/config/pikul_cost.tag index f078c5d..ed96509 100644 --- a/config/pikul_cost.tag +++ b/config/pikul_cost.tag @@ -2,8 +2,7 @@ UserTag pikul_cost Order company origin district city province weight service UserTag pikul_cost Routine <<EOR sub { my ($company, $origin, $district, $city, $province, $weight, $service) = @_; - my @provisions; - my $table; + my (@provisions, $table); if ($company == 0) { @provisions = ( "$Global::Variable->{ANTERAJA_BASE_PATH}", |