Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Newline Delimited Input

by waswas-fng (Curate)
on Jun 10, 2003 at 21:44 UTC ( [id://264873]=note: print w/replies, xml ) Need Help??


in reply to Newline Delimited Input

open(IN, "< input.csv") or die("Couldn't open input.csv\n"); open(OUT, "> output.csv") or die("Couldn't open output.csv\n"); while (<IN>) { chomp; #Displays total size of specified path (total includes subfolders) print "Walking $_\n";
#stuff you took out... Are you using File::Find?
} print "\n\tOutput created.\n"; close(OUT);


-Waswas

Log In?
Username:
Password:

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

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

    No recent polls found