http://www.perlmonks.org?node_id=692045

peleus has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks,

I am complete noob still learning Perl(and will attempt my best to trancend my noobness). However this should be a simple matter; how would I define the elements in an array variable if the number of elements are user defined? Basically I hope to use an array variable to create a number of text files that the user specifies.

Any help is always greatly appreciated
Thanks!

Update Thank you all, it makes so much sense. I was not sure if it made a lot of sense, but thank you all for responding, it works like a charm.

20080617 Janitored by Corion: Restored original text