Re: Passing an array from a 2-D array

2002-02-18 Thread Michael Fowler
On Sat, Feb 16, 2002 at 11:20:42AM -0500, Ian P. Thomas wrote: > If I read this correctly, I takes the first array from > unchecked_dfa_states and passes it out, but not before dereferencing > it. I needed something that could take the first array as a whole > object and pass it to check

Re: Passing an array from a 2-D array

2002-02-16 Thread Ian P . Thomas
On Thursday, February 14, 2002, at 08:12 PM, Michael Fowler wrote: > On Thu, Feb 14, 2002 at 04:14:39PM -0500, Ian P. Thomas wrote: >> >> # The array, unchecked_dfa_states, is going to be an array of arrays >> ( 2-D ). >> # dfa_state_creation is a subroutine that returns an array, and takes >>

Re: Passing an array from a 2-D array

2002-02-14 Thread Michael Fowler
On Thu, Feb 14, 2002 at 04:14:39PM -0500, Ian P. Thomas wrote: > > # The array, unchecked_dfa_states, is going to be an array of arrays ( 2-D ). > # dfa_state_creation is a subroutine that returns an array, and takes an array > # or single number, and a scalar, as parameters. > push @unchecked_d

Passing an array from a 2-D array

2002-02-14 Thread Ian P . Thomas
# The array, unchecked_dfa_states, is going to be an array of arrays ( 2-D ). # dfa_state_creation is a subroutine that returns an array, and takes an array # or single number, and a scalar, as parameters. push @unchecked_dfa_states, [ dfa_state_creation( $nfa_start_state, $epsilon ) ]; # I wan