in reply to Re: Uninitialized value in string eq error but I initialized
in thread Uninitialized value in string eq error but I initialized

That was really the problem. Perl didnt allow me to push into an empty array so I changed the code as follows: $ids[$count-1] = trim($allcolumns[0]) but I will push whenever possible :-). Thanks for help to Funky Monk and all the others.

Replies are listed 'Best First'.
Re^3: Uninitialized value in string eq error but I initialized
by chromatic (Archbishop) on Jan 06, 2008 at 03:30 UTC
    Perl didnt allow me to push into an empty array...

    Are you sure?

    my @stuff; push @stuff, 'element'; push @stuff, 'elephant'; local $" = ')('; print "(@stuff)\n";