Help for this page

Select Code to Download


  1. or download this
    $, = $/;
    $a[$_] = ++$line while <>;
    print map $a[$_] || (), $[ .. $#a;
    
  2. or download this
    $, = $/;
    undef @a[<>];
    print grep exists $a[$_], $[ .. $#a;