summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-07-14 14:27:20 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-07-14 14:27:20 +0800
commit23eb546f7efe962914e8b745f687dbcbfe08d707 (patch)
treecaa3e1e583a158ed0a7a9c6554ff77a1c523711d
parentc095b8fa445adceb58e5dd59c59cad17d23a9bc4 (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.
-rw-r--r--config/pikul_cost.tag3
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}",