Help for this page

Select Code to Download


  1. or download this
    sub extract {
       my ($filename, $line_no)=@_;
    ...
            return $line;
       }
    }
    
  2. or download this
    An example:
    $file = "example.txt";
    $line_no_reqd = 4; 
    $result = &imp($file,$line_no_reqd);
    print $result;