Article View: be.comp.programming
Article #3323Re: Perl
From: Gunter Schelfhout
Date: Fri, 09 Jan 2004 16:28
Date: Fri, 09 Jan 2004 16:28
18 lines
1512 bytes
1512 bytes
"Bert Serneels" <bertserneels.at.skynet.be> wrote: > Vraagje voor de perl mensen onder jullie, > Hoe kan je een string in perl naar een bestand laten schrijven. > $string="This is a string"; #open de file: bv /path/to/file open(FH, "> /path/to/file"); print FH $string; #sluit de filehandle close FH; -- Blood, sweat & tears Linus Torvalds about the GPL: "It's not just a crazy idea that some lefty Commie hippie dreamed up in a drug-induced stupor."
Technical Details
Message-ID:
<REALb.4587$1m1.342105@phobos.telenet-ops.be>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed.tiscali.ch!feed1.news.be.easynet.net!ossa.telenet-ops.be!phobos.telenet-ops.be.POSTED!not-for-mailReferences:
<3ffedecd$0$6084$ba620e4c@news.skynet.be>Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit X-Google-Thread: fcea4,3008fa527418c4d1 X-Google-Attributes: gidfcea4,public X-Google-ArrivalTime: 2004-01-09 08:28:33 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed.tiscali.ch!feed1.news.be.easynet.net!ossa.telenet-ops.be!phobos.telenet-ops.be.POSTED!not-for-mail From: Gunter Schelfhout <nospam@please.com> Subject: Re: Perl Newsgroups: be.comp.programming References: <3ffedecd$0$6084$ba620e4c@news.skynet.be> Lines: 18 User-Agent: KNode/0.7.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit Message-ID: <REALb.4587$1m1.342105@phobos.telenet-ops.be> Date: Fri, 09 Jan 2004 16:28:33 GMT NNTP-Posting-Host: 213.118.155.190 X-Complaints-To: abuse@telenet.be X-Trace: phobos.telenet-ops.be 1073665713 213.118.155.190 (Fri, 09 Jan 2004 17:28:33 MET) NNTP-Posting-Date: Fri, 09 Jan 2004 17:28:33 MET Organization: Telenet Internet