![]() |
|
Think about Loose Coupling | |
PerlMonks |
Re^2: -E behavior with stdin script (updated)by haukex (Archbishop) |
on Sep 05, 2021 at 13:50 UTC ( #11136463=note: print w/replies, xml ) | Need Help?? |
AFAIK, there is no way to pick the features enabled by -E automatically other than by using it. Well, -E is equivalent to a use feature ':5.XX';, so one slightly hackish way to get the same effect is use feature ":5.".(0+substr($],2,3));. Update: Crossposting the following better solution from my other node for completeness:
In Section
Seekers of Perl Wisdom
|
|