Re: "set-check" warning
Michael Yount <[email protected]>
| Newsgroups | gmane.mail.majordomo.majordomo2.devel |
|---|---|
| Message-ID | <[email protected]> |
On 11 Jan 23:06, Brock Rozen wrote:
> You mean in List.pm , right?
In get_setting_data.al, you should see the starting line number for the
routine. List.pm is not used directly by Mj2 when its autosplit
routines are run. In principle, the line numbers should be identical
for both files.
> $i = 0;
> for $flag (sort keys %classes) {
> # skip aliases
> next unless ($classes{$flag}->[0] eq $flag);
>
> line 1047 is the one starting with "next unless".
>
> >>--== Use of uninitialized value in string eq at blib/lib/Mj/List.pm
> >>(autosplit into
> >> blib/lib/auto/Mj/List/get_setting_data.al) line 1047.
In the autosplit (.al) file, insert a debugging statement immediately
after line 1047, something like:
warn "The flag value is $flag";
Then run the set-check command again from mj_shell to see what result
you get.
Michael