in reply to Passing Arrays to Subroutines

You say, it doesn't work. I cut and paste the code, and I say it works.

Now what? Perhaps you could explain your definition of "it doesn't work"?

Abigail

Replies are listed 'Best First'.
Re: Re: Passing Arrays to Subroutines
by shemyaza (Novice) on Nov 26, 2003 at 16:41 UTC
    Thanks for your message. I see now that item 0 is line 1 of the data file and item 1 is line 2 etc etc. Looks like I need to split on white space to achieve what I want where item 0 is '31307MWB', item 2 is 'name@address' etc etc. Either that or I can change my plan a little and work with the lines. Cheers S.