On Thu, Nov 21, 2002 at 09:43:08PM +0000, Piers Cawley wrote:
[ how should printed lists behave? ]
> Please make the default behaviour 'debugging friendly' rather than
> 'pretty' if that makes any sense at all. In other words, it'd be handy
> if whatever got printed out included some unique ID for the scalar so,
> when I'm sticking debugging print statements into code I can tell at a
> glance whether [ 'one', 'two', 'three' ] and [ 'one', 'two', 'three' ]
> are the same thing or simply two arrayrefs that *look* the same. How
> about something like 'Array(<id>)[...]'? Verbose admittedly, but
> useful.

Ideally, there could even be a per-list switch and a global switch that says "(don't) 
show unique ids when interpolating lists/arrays".  By default, it gets set to "show", 
but it can be turned off if you want.


--Dks

Reply via email to