On Sat, Aug 20, 2005 at 06:39:36PM +0100, Nicholas Clark wrote: > Yes, good idea. You can do this by setting the bit values in $^D at runtime. > So setting $^D to 128 just for the section you're interested in would be the > same as -Dm on the command line, only locally. There's a table of letters and > values in perlrun.pod.
These days you can set $^D symbolicly too, eg $^D = 'm'; # same as -Dm -- Any [programming] language that doesn't occasionally surprise the novice will pay for it by continually surprising the expert. -- Larry Wall