Skip to content

Fix a warning due to the way the sort methods are called in the job manager.#3009

Merged
Alex-Jordan merged 1 commit into
openwebwork:WeBWorK-2.21from
drgrice1:bugfix/job-manager-sort-warning
Jun 9, 2026
Merged

Fix a warning due to the way the sort methods are called in the job manager.#3009
Alex-Jordan merged 1 commit into
openwebwork:WeBWorK-2.21from
drgrice1:bugfix/job-manager-sort-warning

Conversation

@drgrice1

@drgrice1 drgrice1 commented Jun 8, 2026

Copy link
Copy Markdown
Member

Currently the sort methods are called with the ampersand sigil. That implies the argument of @_ and with recent versions of Perl that causes the warning Implicit use of @_ in subroutine entry with signatured subroutine is experimental.

This exact same issue was fixed for the accounts manager page in #2607, and this is the same thing exactly and fixed in the same way.

…anager.

Currently the sort methods are called with the ampersand sigil.  That
implies the argument of `@_` and with recent versions of Perl that
causes the warning `Implicit use of @_ in subroutine entry with
signatured subroutine is experimental`.

This exact same issue was fixed for the accounts manager page in openwebwork#2607,
and this is the same thing exactly and fixed in the same way.
@Alex-Jordan Alex-Jordan merged commit 55ee0a3 into openwebwork:WeBWorK-2.21 Jun 9, 2026
2 checks passed
@drgrice1 drgrice1 deleted the bugfix/job-manager-sort-warning branch June 9, 2026 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants