sot / starcheck

BSD 3-Clause "New" or "Revised" License
3 stars 0 forks source link

Monitor window guide summary parsing can toss uninitialized warns #353

Closed jeanconn closed 3 years ago

jeanconn commented 3 years ago

Saw this doing an on-the-side run of SEP2120A

Use of uninitialized value in concatenation (.) or string at starcheck/src/lib/Ska/Parse_CM_File.pm line 575.

Looks like this has been a problem in the monitor window parsing since DEC 2019 when it looks like the "mX" stopped appearing in the Notes section of the guide summary. As the value for printing is uninitialized due to being missing, from the source, the fact that $l[7] is empty when the line is pushed, is a non-issue.

push @{$guidesumm{$oflsid}{info}}, "MON --- $l[2] $l[3] --- $l[5] $l[6] $l[7]";
jeanconn commented 3 years ago

Possible silly Perl fix at #354 354