Re: Passing several arguments

2004-01-29 Thread Jeff 'japhy' Pinyan
On Jan 27, Jan Eden said: >I have a subroutine which fills into several hashes and arrays >(%author_indexlines, %poem_lines, @alphabet_index etc). How can I return >those variables and pass them to another subroutine? This does not work, >of course > >sub read_index { >blablabla >return (%

Re: Passing several arguments

2004-01-29 Thread Jan Eden
Jeff 'japhy' Pinyan wrote: >On Jan 27, Jan Eden said: > >>I have a subroutine which fills into several hashes and arrays >>(%author_indexlines, %poem_lines, @alphabet_index etc). How can I >>return those variables and pass them to another subroutine? [snip] >>I thought that this might be achie

Re: Passing several arguments

2004-01-28 Thread drieux
On Jan 27, 2004, at 3:26 AM, Jan Eden wrote: [..] I have a subroutine which fills into several hashes and arrays (%author_indexlines, %poem_lines, @alphabet_index etc). How can I return those variables and pass them to another subroutine? This does not work, of course [..] perldoc -q "How can I

Re: Passing several arguments

2004-01-28 Thread Wiggins d'Anconia
Jan Eden wrote: Hi all, I have a subroutine which fills into several hashes and arrays (%author_indexlines, %poem_lines, @alphabet_index etc). How can I return those variables and pass them to another subroutine? This does not work, of course sub read_index { blablabla return (%author_ind

Passing several arguments

2004-01-28 Thread Jan Eden
Hi all, I have a subroutine which fills into several hashes and arrays (%author_indexlines, %poem_lines, @alphabet_index etc). How can I return those variables and pass them to another subroutine? This does not work, of course sub read_index { blablabla return (%author_indexlines, %poem