Re: back to orininal question

2005-04-19 Thread Randal L. Schwartz
> "Charles" == Charles K Clarkson <[EMAIL PROTECTED]> writes: Charles> One problem I think you are having is defining what 'shift' does. Charles> 'shift' is short for 'shift @_'. Or 'shift @ARGV', outside of a subroutine. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1

RE: back to orininal question

2005-04-18 Thread Hawkes, Mick I
EUREKA! It works! Thanks Charles, it was: my $loop = $self->GetOfficers(); that did the trick. (its now beginning to make sense! :-)) Also got the fetchall_arrayref to work too! Thanks again to everyone! Cheers Mick Hawkes -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

RE: back to orininal question

2005-04-18 Thread Charles K. Clarkson
Hawkes, Mick I wrote: : Jeff : : Like I said in my text. I tried BOTH solutions, it is only commented : out to show this. Yes I tried that Format, I commneted out my @loop = : GetOfficers(); and likewise the other bit in main menu. : The crux is my @loop = GetOfficers($

RE: back to orininal question

2005-04-18 Thread Charles K. Clarkson
Hawkes, Mick I wrote: : But back to the original question. I need to put a lot of : re-occurring code into subroutines (as you do) however I am : hampered to a problem with passing shift I think. This is a : very simplified test code where I have tried passing shift : as

RE: back to orininal question

2005-04-18 Thread Hawkes, Mick I
Jeff Like I said in my text. I tried BOTH solutions, it is only commented out to show this. Yes I tried that Format, I commneted out my @loop = GetOfficers(); and likewise the other bit in main menu. The crux is my @loop = GetOfficers($self); doesn't work either! On Apr 19, Haw

Re: back to orininal question

2005-04-18 Thread Jeff 'japhy' Pinyan
On Apr 19, Hawkes, Mick I said: But back to the original question. I need to put a lot of re-occurring code into subroutines (as you do) however I am hampered to a problem with passing shift I think. This is a very simplified test code where I have tried passing shift as an argument and also as

back to orininal question

2005-04-18 Thread Hawkes, Mick I
Guys Thanks to all the useful suggestions, especially to Charles for the code review, I will implement your suggestions throughout my code. But back to the original question. I need to put a lot of re-occurring code into subroutines (as you do) however I am hampered to a problem with passing s