Stuff with the Perl Foundation. A couple of patches in the Perl core. A few CPAN modules. That about sums it up.
This compiles:
sub Foo::show { print 'Foo::show' };
my %class = ( name => 'Foo' );
print qq{ $class{name}->show; #};
This does not:
sub Foo::show { print 'Foo::show' };
my %class = ( 'name}' => 'Foo' );
print qq{ $class{'name}'}->show; #};
I discovered this little curiosity because some programmer is using curly braces with qq// in our code:
return qq{<span $options{attrs}>$options{title}</span>};
Documented behaviour (Score:2)
Re:Documented behaviour (Score:2)
I wasn't aware that it was documented until I saw your post on Perlmonks. "Find the end first" certainly clears that up.
Escape it (Score:2)
Re:Escape it (Score:2)