need little help with reg expressions

2002-09-27 Thread David Mamanakis
Again... interesting little routine I have going... Sucking a return out of a function an stuffing it into an array @Junk = $TE-logon($A-{USERID}); Then I am validating the information in the array with known values, searching for specific information... if

Re: need little help with reg expressions

2002-09-27 Thread david
David Mamanakis wrote: sub validateCLSMSResponse { my $self = shift; my $Response = undef; my $CheckString = shift; my @Holder = shift; the above could be bad. you only shift one element from @Junk into @Holder. If you have: @Junk = ('hi','hello','whatever','another');