develooper Front page | perl.perl5.porters | Postings from February 2003

perl5db.pl patch against missing args destroying pre-post command setups

From:
Richard.Foley
Date:
February 19, 2003 12:24
Subject:
perl5db.pl patch against missing args destroying pre-post command setups
Message ID:
B374141B0A424D4F9CF143CC51B3ADD98579D8@NZURC900PEX1.ubsgs.ubsgroup.net
This is a patch to fix a couple of things in the debugger:

	1. losing multiple 'watched' elements because of scalar context

	2. the pre- and post- perl and debugger commands were all trashed when given no args

Point 2. now behaves like the a, b and w and removes the need for the 

	'a command without an argument should *never* be a destructive action' 

comment.  Though personally I think it would be good to leave the note in for future reference.  BTW: I think these are the last commands that still did this.

I placed the old behaviour in the pre590 command set for all you die-hards out there :-)

Richard Foley
Ciao - shorter than Aufwiedersehen



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About