in reply to Could perl have a "do these files contain experimental/deprecated features" flag?

Isn't that already covered by the deprecated | experimental warning categories?

qwurx [shmem] ~> perl -wcle '$[=1' Use of assignment to $[ is deprecated at -e line 1. -e syntax OK

Of course, deprecations that become apparent only at runtime cannot be checked at compile time.

perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'
  • Comment on Re: Could perl have a "do these files contain experimental/deprecated features" flag?
  • Download Code