Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Getting STDIN and writing to a file

by PerlingTheUK (Hermit)
on Jun 08, 2005 at 21:10 UTC ( [id://464843]=note: print w/replies, xml ) Need Help??


in reply to Getting STDIN and writing to a file

This works just fine on my system (XP Home), same perl.
I'd rather change
print FILE "$record\n";
to
print FILE "$record";
unless that is on purpose, as $record will normally be terminated with a newline.

Cheers,
PerlingTheUK

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2024-03-29 07:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found