Help for this page

Select Code to Download


  1. or download this
    @arr = split /\n/, $line;
    map {s/^\n+//;} @arr;
    $"="\n";
    print "@arr"
    
  2. or download this
    while ($line = <FILE>)
    {
    $line =~ s/^\n+//;
    }