[ET Trac] #2590: Uninitialized variable in Perl code

Erik Schnetter trac-noreply at einsteintoolkit.org
Wed Jan 26 13:12:20 CST 2022


#2590: Uninitialized variable in Perl code

 Reporter: Erik Schnetter
   Status: new
Milestone: 
  Version: development version
     Type: bug
 Priority: minor
Component: Cactus

I receive this error from the CST stage:

```
CST error in /Users/eschnett/Cactus/arrangements/CarpetX/CarpetX/interface.ccl (at 129)
  -> SYNTAX ERROR

Use of uninitialized value in concatenation (.) or string at /Users/eschnett/Cactus/repos/flesh/lib/sbin/interface_parser.pl line 985.
```

for this code:

```
CCTK_REAL regrid_error TYPE=gf CENTERING={ccc TAGS='index={1 1 1}'
{
  regrid_error
} "Regridding condition"
```

The code is wrong \(it’s missing a closing brace\), but the error message should be better.

--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2590/uninitialized-variable-in-perl-code
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.einsteintoolkit.org/pipermail/trac/attachments/20220126/8e711e7d/attachment.html 


More information about the Trac mailing list