TSa skribis 2005-12-22 17:27 (+0100):
> >    $foo();  # It was a sub
> The postfix () is valid syntax irrespective of the former
> assignment, right?

Valid syntax, sure, but it doesn't necessarily do something terribly
useful.

> 
> >    my $foo = {};
> >    $foo<bar> = 1;  # It was a hash
> Would you expect the second line to work witout the first?

Yes, if something else declared a $foo, and nothing assigned it a
non-hash.

> >It's not as if we're allergic to intelligent autovivifithingy... :)
> No allergy on my side, as long as the magic is under kind control ;)

Autovivification is always predictable.


Juerd
-- 
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html 
http://convolution.nl/gajigu_juerd_n.html

Reply via email to