Help for this page

Select Code to Download


  1. or download this
    map { defined $_ ? $_ : () } @array;
    
  2. or download this
    print join(',',map { ($_,$_*2,$_*3) } (1,5));
    #prints: 1,2,3,5,10,15