On Fri, Sep 11, 2009 at 09:56, John W. Krahn <jwkr...@shaw.ca> wrote: snip >> You can't tell everything about the language from the docs. > > Give me an example, I'll point you to the docs. (Have you read them all?) snip
Okay, I will bite, where is it documented that (@a) x= 3; is an error? More generally, where is it documented that <op>= only works with scalar lvalues? Perl 5 does not have a specification, or more accurately, the source code is the specification. Without an external specification, there are things we know because that is just the they way they work (like x= not working on an array). Perl 6 will be much better in regard as it will have a specification and one or more implementations. -- Chas. Owens wonkden.net The most important skill a programmer can have is the ability to read. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/