in reply to Re^2: Warnings - Argument isnt numneric
in thread Warnings - Argument isnt numneric

moritz is right. To insert the value in $new_day before the 4th element of @test, you need
splice(@test, 3, 0, $new_day);

It reads as: "Replace 0 elements of @test starting at index 3 with the single value $new_day". See splice.

Replies are listed 'Best First'.
Re^4: Warnings - Argument isnt numneric
by weezer_316 (Novice) on Jul 08, 2008 at 09:54 UTC
    Ikegami, moritz

    Many many many thanks. Cracked it. Very much appreciated