in reply to Re: File Input and Output
in thread File Input and Output
No, before you can help yourself. Try Linux or FreeBSD or OpenBSD instead of Redmond crap.
Now serious.
try:
#!/usr/bin/perl
open(OUTPUT,">>/tmp/file");
$a = "some text...";
print OUTPUT $a;
Now, change the /tmp/file and stuff to anything you want to.
HTH
vfs ("The Perl Monkey") :)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: File Input and Output
by Anonymous Monk on Jun 01, 2001 at 03:19 UTC | |
Re: Re: Re: File Input and Output
by Anonymous Monk on Sep 05, 2001 at 05:42 UTC | |
by apotheon (Deacon) on Oct 16, 2004 at 07:59 UTC | |
by Anonymous Monk on Aug 10, 2002 at 08:12 UTC | |
by Anonymous Monk on Mar 13, 2009 at 10:07 UTC |
In Section
Tutorials