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 section of perlobj misleading #387
Comments
From adam@thelonious.new.ox.ac.ukThe WARNING section of perlobj discusses certain examples of move $ary[$i]; # probably wrong! According to the man page, Those actually parse as the very surprising: [sniplet] $ary->move->[$i]; # Didn't expect this one, eh? However, according to a quick -MO=Deparse, it actually parses as @ary->move([0]); which results in the error: Can't call method "foo" on an undefined value at -e line 1. and is presumably undefined behaviour anyway? P.S. This also applies for 5.00503, despite me perlbugging this on a Perl Info
|
Migrated from rt.perl.org#1222 (status was 'resolved')
Searchable as RT1222$
The text was updated successfully, but these errors were encountered: