https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25898
Bug ID: 25898
Summary: Prohibit indirect object notation
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: ASSIGNED
Severity: enhancement
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Indirect object notation is when you write:
my $cgi = new CGI;
Recently announced Perl 7 (https://www.perl.com/article/announcing-perl-7/)
will disable this notation by default.
We should write instead:
my $cgi = CGI->new
Perl 7 does not have a release date yet, but it's better to be prepared :)
This bug is for adding a rule in .perlcriticrc and removing all indirect object
notations.
--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/