Menu

#1 error in setting default values: Use of uninitialized value in string

1.0
closed
None
2014-08-24
2014-07-28
Alex
No

Hi!

When starting the server, using the default value for number of planets throws an error:

Use of uninitialized value in string eq at chalaxy-ser line 35, <> line 4.

This is caused by the following line:

$planetNum = 10 if $planetNum eq ();

I guess what you wanted to write was q() - as you did for the other settings.

This was tested with Perl 5.16.3 on Windows 8.1.

Discussion

  • E. Choroba

    E. Choroba - 2014-08-24
    • status: open --> closed
     
  • E. Choroba

    E. Choroba - 2014-08-24

    Already fixed in commit 896156.

     

Log in to post a comment.

MongoDB Logo MongoDB