Help for this page

Select Code to Download


  1. or download this
    # open the file using _ to avoid multiple system calls invoked by perl
    open _,"filename";
    
  2. or download this
    my @lines=<_>;
    
  3. or download this
    @lines[$#lines];
    
  4. or download this
    Scalar value @lines[$#lines] better written as $lines[$#lines]
    
  5. or download this
    $lines[-1]