Perl undefined variables warnings when tyring to inherit from a non existing thorn
Issue #2527
resolved
Erik Schnetter reported warnings from Perl of the sort:
Use of uninitialized value in concatenation (.) or string at /Users/eschnett/src/CarpetX/Cactus/repos/flesh/lib/sbin/interface_parser.pl line 176.
on Gitter. These seem triggered by trying to inherit from a non-existing thorn
CST error in /Users/eschnett/src/CarpetX/Cactus/repos/flesh/lib/sbin/interface_parser.pl (at 296)
-> IDBRILLDATA (thorn IDBrillData) inherits from ellbase
No thorn in your current ThornList implements ellbase
Either remove IDBrillData, or add a thorn to your
ThornList implementing ellbase
No thorns in arrangements directory implement ellbase
and Perl trying to use a not yet defined array hash value when constructing the list of thorn ancestors.
There are no such warnings when the code builds, yet the Perl code should not produce these warning even in the case of a later build failure.
Comments (9)
-
-
reporter oops, wrong string in the copy and paste buffer. I will update the description…
-
reporter - edited description
-
reporter Pull request is here: https://bitbucket.org/cactuscode/cactus/pull-requests/123
-
reporter - changed status to open
-
reporter Please review.
-
reporter Unless objected I will apply this after 2021-08-20.
-
reporter -
reporter - changed status to resolved
- Log in to comment
The actual error message I saw was:
Use of uninitialized value in concatenation (.) or string at /Users/eschnett/src/CarpetX/Cactus/repos/flesh/lib/sbin/interface_parser.pl line 176.