Is there a way to generally enable pragmas like use feature qw// in the perldebugger (used as a shell)?
perl -dE0 doesn't work, using a -M switch neither does.
Every line in perldb has it's own scope
so DB<1> use feature "say"; say "huhu"
won't last.
The only possibility I can think of is using one of these "automatic commands" in front of each line.
¹)
Cheers Rolf
In reply to Convenient way to use 5.10 features in perldebugger? by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |