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

Use of @_ in numeric eq (==) with signatured subroutine is experimental #67

Open
KES777 opened this issue Dec 8, 2022 · 4 comments
Open

Comments

@KES777
Copy link

KES777 commented Dec 8, 2022

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

@rwp0
Copy link

rwp0 commented Mar 14, 2023

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.

@Corion
Copy link
Owner

Corion commented Mar 19, 2023

Whoops, that is a problem in my code. I'll look that I release a fixed version soon!

@fdulau
Copy link

fdulau commented Jun 15, 2023

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.

@fheyer
Copy link

fheyer commented Nov 7, 2023

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!

Corion pushed a commit that referenced this issue Nov 21, 2023
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

No branches or pull requests

5 participants