Use of @_ in numeric eq (==) with signatured subroutine is experimental
KES777 opened this issue · comments
Use of @_ in numeric eq (==) with signatured subroutine is experimental at local/lib/perl5/WWW/Mechanize/Chrome.pm line 818.
Use of @_ in array element with signatured subroutine is experimental at local/lib/perl5/WWW/Mechanize/Chrome.pm line 818.
Use of @_ in array element with signatured subroutine is experimental at local/lib/perl5/WWW/Mechanize/Chrome.pm line 1981.
Use of @_ in numeric eq (==) with signatured subroutine is experimental at local/lib/perl5/WWW/Mechanize/Chrome.pm line 5488.
Use of @_ in list assignment with signatured subroutine is experimental at local/lib/perl5/WWW/Mechanize/Chrome.pm line 5488.
Use of @_ in list assignment with signatured subroutine is experimental at local/lib/perl5/WWW/Mechanize/Chrome.pm line 5491.
Use of @_ in numeric eq (==) with signatured subroutine is experimental at local/lib/perl5/WWW/Mechanize/Chrome.pm line 5598.
Use of @_ in list assignment with signatured subroutine is experimental at local/lib/perl5/WWW/Mechanize/Chrome.pm line 5598.
Use of @_ in list assignment with signatured subroutine is experimental at local/lib/perl5/WWW/Mechanize/Chrome.pm line 5601.
Perl version: 5.36.0
Use of @_ in numeric eq (==) with signatured subroutine is experimental at /home/regular/perl5/perlbrew/perls/blead/lib/site_perl/5.37.9/WWW/Mechanize/Chrome.pm line 818.
Use of @_ in array element with signatured subroutine is experimental at /home/regular/perl5/perlbrew/perls/blead/lib/site_perl/5.37.9/WWW/Mechanize/Chrome.pm line 818.
Use of @_ in array element with signatured subroutine is experimental at /home/regular/perl5/perlbrew/perls/blead/lib/site_perl/5.37.9/WWW/Mechanize/Chrome.pm line 1981.
Use of @_ in numeric eq (==) with signatured subroutine is experimental at /home/regular/perl5/perlbrew/perls/blead/lib/site_perl/5.37.9/WWW/Mechanize/Chrome.pm line 5488.
Use of @_ in list assignment with signatured subroutine is experimental at /home/regular/perl5/perlbrew/perls/blead/lib/site_perl/5.37.9/WWW/Mechanize/Chrome.pm line 5488.
Use of @_ in list assignment with signatured subroutine is experimental at /home/regular/perl5/perlbrew/perls/blead/lib/site_perl/5.37.9/WWW/Mechanize/Chrome.pm line 5491.
Use of @_ in numeric eq (==) with signatured subroutine is experimental at /home/regular/perl5/perlbrew/perls/blead/lib/site_perl/5.37.9/WWW/Mechanize/Chrome.pm line 5598.
Use of @_ in list assignment with signatured subroutine is experimental at /home/regular/perl5/perlbrew/perls/blead/lib/site_perl/5.37.9/WWW/Mechanize/Chrome.pm line 5598.
Use of @_ in list assignment with signatured subroutine is experimental at /home/regular/perl5/perlbrew/perls/blead/lib/site_perl/5.37.9/WWW/Mechanize/Chrome.pm line 5601.
Could not read websocket endpoint from Chrome output. Do you maybe have a non-debug instance of Chrome already running? at /home/regular/perl5/perlbrew/perls/blead/lib/site_perl/5.37.9/WWW/Mechanize/Chrome.pm line 1034.
Getting the warnings with Blead Perl (5.37.9) as well.
Do I also need the debugging version of Chrome?
I am using the google-chrome-stable
package from Google's website on Ubuntu 22.04.
Whoops, that is a problem in my code. I'll look that I release a fixed version soon!
In perl 5.36 it is not
no warnings 'experimental::signatures';
but
no warnings 'experimental::args_array_with_signatures';
I added that line WWW::Mechanize::Chrome line 6 to fix the issue as a fast fix.
These warnings are solved in branch fix-signatures-array.
I would very much welcome a release which contains this branch to silence those warnings.
Thank you!