On Fri, 14 Nov 2003, Jeff 'japhy' Pinyan wrote: > On Nov 14, Douglas Houston said: > > >I am trying to initialize a dynamically-named array, i.e. with the > >following test code (if I type "script.pl char" at the command prompt) I > >get the message "array char contains 1 2 3" but I get a warning if 'use > >strict' is on. Can anyone show me how it should be done (I would like to > >use 'use strict'!)? > > You need to explain WHY you want to do this. There doesn't seem to me to > be a good reason. Use a hash of array references. Don't turn off strict. >
WHY do I need to explain why I want to do this? There certainly isn't a good reason to do it with the test code I posted. If there's NEVER a good reason, what are the alternatives? > And your "while (<$ARGV[0]>)" is weird, and not working why you think it > works. > Can you a) explain how I think it works, and b) explain why it really works. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]