http://www.perlmonks.org?node_id=84786


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") :)