Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: Logic Help - Output to csv

by hippo (Bishop)
on Jun 08, 2020 at 08:18 UTC ( [id://11117806]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Logic Help - Output to csv
in thread Logic Help - Output to csv

open my $fh, "<:encoding(utf8)", "output.csv" or die "output.csv: $!";

You have called your file output.csv but have opened it for reading. That's contradictory.

I’m getting errors about print usage

Why keep them a secret? In general, always supply the full, exact text of any error message you have.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2024-04-23 11:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found