Re: perl6 tests

[email protected] (Dave Storrs) Tue, 26 Nov 2002 10:48:29 -0800
Newsgroups perl.perl6.documentation
Message-ID <[email protected]>
On Fri, Nov 22, 2002 at 05:49:58PM +0000, Piers Cawley wrote:
> Dave Storrs <[email protected]> writes:
> 
> > 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.
> 
> What would that gain you? Apart from a global variable the world would
> be better off without? Remember, if you want to print it out without
> the 'id' information you can just do C<print @$array_ref>;

It would mean that, by setting a command line switch or passing a command-line argument, I could change the behaviour of my code without having to change the code.

--Dks