Syntax::Construct looks like a useful tool. All useful tools should be promoted.
However, after reading the POD, it is not clear to me why I should use it. I understand that I can add this line to a Perl file...
use Syntax::Construct qw( // ... /r );
and it will give me a message like:
Unsupported construct /r at ... line ... (Perl 5.014)
I am running on Perl version 5.12. Is this telling me that the /r construct was added in Perl version 5.014? If so, I find that very helpful. However, can you elaborate on the qw( // ... /r )? It's not clear from the POD why you chose that. Is that guaranteed to cover all the constructs supported by the module?
Regarding use Syntax::Construct qw{ auto-deref };, if I am using 5.14 (which supports keys EXPR), does this alter the behavior of my code with keys $foo? |