#!/usr/bin/perl -w use FileHandle; my $fh = FileHandle->new('test','+>'); print $fh $_ while (<DATA>); $fh->close; __DATA__ Test this
In reply to Re: Creating file at run time
by steveAZ98
in thread Creating file at run time
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |