<[EMAIL PROTECTED]> wrote: > > How Do I initialize an empty array so thtat I don't get an unitiialized > error? > > ... > my @rows; > > I thought I could do something like @rows = new (); but it's not working.
You don't. my @rows; declares an array, which is initially empty. If you put something into it and want it back like it was, then @rows = () will empty it again. If you're getting 'Use of uninitialized value' then it's because you're using an element of the array that hasn't been assigned (or has been asigned with 'undef'). Rob -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]