Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: New File Not Working

by Corion (Patriarch)
on Jan 24, 2020 at 17:33 UTC ( [id://11111830]=note: print w/replies, xml ) Need Help??


in reply to New File Not Working

The first step is to ask Perl to tell you about errors:

open(INFILE, "PSR_Date.txt") or die "Couldn't open input file 'PSR_Date.txt': $!"; open(OUTFILE, ">PSR_OutputDate.txt") or die "Couldn't create output file 'PSR_OutputDate.txt': $!";

Replies are listed 'Best First'.
Re^2: New File Not Working
by jalopez453 (Acolyte) on Jan 24, 2020 at 17:49 UTC

    I did do this in regards to verifying the files. I removed the code and everything worked fine. I ended up finding my mistake, I was missing "my" in front of "$line" Thank you for the help.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-04-25 17:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found