in reply to line no. in a file
I suspect the problem is that:
from perl5db.pl doesn't mention $. (though the real solution may be about the opposite of that -- I haven't given it enough thought).sub save { @saved = ($@, $!, $^E, $,, $/, $\, $^W); $, = ""; $/ = "\n"; $\ = ""; $^W = 0; }
Dive right in and patch that and see if it makes a difference. If so, I'm sure you could send your patch in as a bug using perlbug and we'd all benefit.
While your at it, patch in a option so that $^W = 0 can be $^W = 1 so you can use the debugger to interactively play with warnings. (:
- tye (but my friends call me "Tye")
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (tye)Re: line no. in a file
by Dominus (Parson) on Dec 29, 2000 at 11:13 UTC | |
by tye (Sage) on Dec 29, 2000 at 20:46 UTC | |
by lemming (Priest) on Dec 29, 2000 at 21:05 UTC | |
|
Re: (tye)Re: line no. in a file
by lemming (Priest) on Dec 29, 2000 at 10:24 UTC | |
by tilly (Archbishop) on Dec 29, 2000 at 16:36 UTC | |
|
Re: (tye)Re: line no. in a file
by Anonymous Monk on Dec 29, 2000 at 23:01 UTC | |
by tye (Sage) on Dec 29, 2000 at 23:03 UTC |