Help for this page

Select Code to Download


  1. or download this
    my Str $data = slurp $file_name;
    my $fh = IO::String.new($data);
    my $csv = Text::CSV.new(';', '"');    
    my @column = $csv.getline_all($fh).map( *[$target_col] );
    
  2. or download this
    > raku clean_class.raku PPP_DSP_2002-2021.csv
    Flattened array has 150000 elements, but argument lists are limited to
    + 65535
    ...
      in block  at 'SETTING::'src/core.c/Main.pm6 line 421
      in sub RUN-MAIN at 'SETTING::'src/core.c/Main.pm6 line 416
      in block <unit> at clean_class.raku line 15
    
  3. or download this
            @!content.push: |@x;
    
  4. or download this
            @!content.push: $_ for @x;