develooper Front page | perl.perl5.porters | Postings from January 2012

Re: patch for perl5db -> You can t FIRSTKEY with the %~ hash

Thread Previous
Ricardo Signes
January 26, 2012 13:37
Re: patch for perl5db -> You can t FIRSTKEY with the %~ hash
Message ID:
* kevin dawson <> [2012-01-26T15:04:28]
> Q1,    I know understand my patch was a quick hack, but the issue is
> that perl -d will still die, could in not just warn instead?

If (as per your patch) warns instead of dying, variables up until
the un-dumpable variable will be printed, but the rest of the variables will
*not*.  That's no good.

If it dumpvars warns instead of dying, with no other change, the diagnostic
will be confusingly intermixed with the normal output.  This is no good,

What I suggested was a flag that could tell dumpvars "eval each bit, and print
a different marker for each failed bit."  It would not halt dumping halfway
through, and it would not confuse the diagnostic and other output.

> Q2, still needs to have it's changes added, including
> those that did not make the delta.

I'll have a look into that.


Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About