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
Warning about scalar @a[$b] triggered in list context #7554
Comments
From @chipdudeCreated by chip@pobox.comThe warning about @a[$b] being better written as $a[$b] is triggering $ perl -wle 'my ($a) = @ARGV[0]' It's quite plausible to have a one-element array slice if you're sub state { You wouldn't want to make that a $, because if you added another sub state { Perl Info
|
From @xdgStill exists on 5.11.1 |
The RT System itself - Status changed from 'new' to 'open' |
From @cpansproutOn Thu Oct 21 19:16:41 2004, chip wrote:
This is one of my pet peeves. It’s the bareword it shouldn’t be warning -- Father Chrysostomos |
Migrated from rt.perl.org#32083 (status was 'open')
Searchable as RT32083$
The text was updated successfully, but these errors were encountered: