Help for this page

Select Code to Download


  1. or download this
    sub arrayInsertAfterPosition
    {
    ...
    print join(', ', @res) . "\n";
    @res = arrayInsertAfterPosition (\@tab, 5, 'Test');
    print join(', ', @res) . "\n";
    
  2. or download this
    Test, A, B, C, D, E
    A, Test, B, C, D, E
    ...
    A, B, C, D, Test, E
    A, B, C, D, E, Test
    A, B, C, D, E, Test