Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimized bug listing items (mostly "buglist.cgi"). #157

Open
wants to merge 3 commits into
base: 5.2
Choose a base branch
from

Conversation

MasterInQuestion
Copy link

@MasterInQuestion MasterInQuestion commented Jan 1, 2024

    Much deploying [ https://bugzilla.mozilla.org/show_bug.cgi?id=1572075#c3 ].

    Slightly refactored.
    "scalar" keyword here is ~~misuse~~ [ Exactly, just pointless. ].

    References:
    https://perldoc.perl.org/functions/scalar
    https://perldoc.perl.org/perlop#C-style-Logical-Or
    https://stackoverflow.com/questions/13846676

@@ -684,11 +684,17 @@ ORDER: for ($order) {
}
}

if (!scalar @order_columns) {
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

    "misuse": Exactly, just pointless.

	Also merged [ https://github.com​/bugzilla/bugzilla/pull/155 ].
	And edition based on which.

	Also somewhat refactored the adjacent "if":
	Notations for complex data structure in Perl are poorly defined.
	"->" notoriously...

	See also:
	https://perldoc.perl.org/perlop#The-Arrow-Operator
	https://perldoc.perl.org/perlreftut#Use-Rule-2
	https://stackoverflow.com/questions/24106193#24109344
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants