From ba74e381afdd2642538bbeabbd02126e48fb0039 Mon Sep 17 00:00:00 2001 From: Sergiotarxz Date: Tue, 29 Oct 2024 22:32:26 +0100 Subject: [PATCH] Maybe BEGIN will allow it... --- run.pl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/run.pl b/run.pl index 557cba8..bca99f9 100755 --- a/run.pl +++ b/run.pl @@ -1,4 +1,6 @@ #!/usr/bin/env perl -chdir '/app/Hiperthermia'; -require '/app/Hiperthermia/scripts/main.pl'; +BEGIN { + chdir '/app/Hiperthermia'; + require '/app/Hiperthermia/scripts/main.pl'; +};