Ignore:
Timestamp:
04/27/17 00:47:33 (7 years ago)
Author:
nanardon
Message:

Use hash for loadCSV options to allow more parameters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LATMOS-Accounts-Web/lib/LATMOS/Accounts/Web/Controller/Tools/CSV.pm

    r1990 r1991  
    4242    loadCSV( 
    4343        $upload->fh, 
    44         sub { 
     44        cb => sub { 
    4545            my ($res, $count) = @_; 
    4646 
     
    7575            return 1; 
    7676        }, 
    77         sub { 
     77        initcb => sub { 
    7878            my ($csv) = @_; 
    7979            @{ $c->stash->{attrs} } = $csv->column_names; 
Note: See TracChangeset for help on using the changeset viewer.