... What shoul" /> ... What shoul" /> ... What shoul"/>

What version of Perl introduced lexical my subroutines?

126 Views Asked by At

According to this bug report one of my modules is generating this error on older Perls,

Experimental "my" subs not enabled at <file.pm> ...

What should I set my minimum perl version too?

1

There are 1 best solutions below

0
Evan Carroll On BEST ANSWER

From perldoc perlexperiment

Lexical subroutines

  • Introduced in Perl 5.18.0
  • Accepted in Perl 5.26.0