Help for this page

Select Code to Download


  1. or download this
    my @lines = $path_to_file->slurp;
    
  2. or download this
    my $guts  = $path_to_file->slurp;
    my @lines = split /\n/, $guts;
    
  3. or download this
    my $guts  = $path_to_file->slurp;
    my @lines = split /^/, $guts;