Skip to content

defined(@array) is deprecated in perl 5.16 #63

@aubreyja

Description

@aubreyja

This is not as big a deal as with pg since the warning messages are not displayed to the student, but at startup and in the error log are these warning messages:

defined(@array) is deprecated at /Users/jason/webwork/webwork2/lib/WeBWorK/ContentGenerator/Instructor/Assigner.pm line 109.
(Maybe you should just omit the defined()?)
defined(@array) is deprecated at /Users/jason/webwork/webwork2/lib/WeBWorK/ContentGenerator/Instructor/Assigner.pm line 111.
(Maybe you should just omit the defined()?)
defined(@array) is deprecated at /Users/jason/webwork/webwork2/lib/WeBWorK/ContentGenerator/Instructor/Index.pm line 318.
(Maybe you should just omit the defined()?)
defined(@array) is deprecated at /Users/jason/webwork/webwork2/lib/WeBWorK/ContentGenerator/Instructor/Index.pm line 320.
(Maybe you should just omit the defined()?)
defined(@array) is deprecated at /Users/jason/webwork/webwork2/lib/WeBWorK/ContentGenerator/Instructor/SendMail.pm line 115.
(Maybe you should just omit the defined()?)
defined(@array) is deprecated at /Users/jason/webwork/webwork2/lib/WeBWorK/ContentGenerator/Instructor/SendMail.pm line 117.
(Maybe you should just omit the defined()?)
defined(@array) is deprecated at /Users/jason/webwork/webwork2/lib/WeBWorK/ContentGenerator/Instructor/StudentProgress.pm line 197.
(Maybe you should just omit the defined()?)
defined(@array) is deprecated at /Users/jason/webwork/webwork2/lib/WeBWorK/ContentGenerator/Instructor/StudentProgress.pm line 199.
(Maybe you should just omit the defined()?)
defined(@array) is deprecated at /Users/jason/webwork/webwork2/lib/WeBWorK/ContentGenerator/Instructor/StudentProgress.pm line 371.
(Maybe you should just omit the defined()?)
defined(@array) is deprecated at /Users/jason/webwork/webwork2/lib/WeBWorK/ContentGenerator/Instructor/StudentProgress.pm line 373.
(Maybe you should just omit the defined()?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions