Is it a good idea to quote keys when using a hash in Perl?
I am working on an extremely large legacy Perl code base and trying to adopt a lot of the best practices s
You can precede the key with a "-" (minus character) too, but be aware that this appends the "-" to the beginning of your key. From some of my code:
-
$args{-title} ||= "Intrig";
I use the single quote, double quote, and quoteless way too. All in the same program :-)