in reply to struggling with sub-routines
To retrive this list from your subroutine you need to use the following:return ($first, $second, $third, $fourth, $others);
I have omitted the $first that you were sending to the subroutine as I believe you meant to send @array (which was obtained from the file) instead although I'm not sure of this.@ret = catergory();
There are some other possible problems with your code but I'm still having trouble understanding what your trying to do. If you explain in more depth your aims this would greatly help.
Good luck with your project!
~~rob
____________________________________________________________
eval pack "h*", "072796e647022245d445f475454494c5e622b3";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: struggling with sub-routines
by Anonymous Monk on Jun 19, 2002 at 13:17 UTC | |
by r0b (Pilgrim) on Jun 19, 2002 at 16:34 UTC | |
by Anonymous Monk on Jun 20, 2002 at 09:25 UTC |