Thread View: be.comp.programming
2 messages
2 total messages
Started by Bert Serneels
Fri, 09 Jan 2004 16:04
Perl
Author: Bert Serneels
Date: Fri, 09 Jan 2004 16:04
Date: Fri, 09 Jan 2004 16:04
10 lines
1145 bytes
1145 bytes
Vraagje voor de perl mensen onder jullie, Hoe kan je een string in perl naar een bestand laten schrijven. -- --- Only two things are infinite, the universe and human stupidity, and I'm not sure about the former. Albert Einstein (1879 - 1955) ---
Re: Perl
Author: 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."
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads