Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: Logic Help - Output to csv

by haukex (Archbishop)
on Jun 08, 2020 at 21:28 UTC ( [id://11117831]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    {
      "00123" => {
    ...
                   "File 7" => "www.site.com/path/to/file/file.pdf",
                 },
    }
    
  2. or download this
    open my $fh, ">:encoding(UTF-8)", "output.csv" or die "output.csv: $!"
    +;
    my $csv = Text::CSV->new({binary=>1, auto_diag=>2, eol=>$/,
    ...
        $csv->print($fh, [$sku, map { $itms->{$sku}{$_} } @columns ]);
    }
    close $fh;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11117831]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (7)
As of 2024-03-28 20:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found