ZHAO, BING wrote:
Hi,
unlink $file works fine, but link $file doesn't even
exist,
link() does exist, but it corresponds to link(2) syscall.
perldoc -f link
The sysopen function seems to be tedious, does anyone
know how to effectively create a file in some
ZHAO, BING wrote:
Hi,
unlink $file works fine, but link $file doesn't even
exist,
Did you search seacrh.cpan.org for "link"?
How about "touch"?
if you had you'd have found this right off:
http://search.cpan.org/~nwetters/File-Touch-0.01/Touch.pm
Also
perldoc -f open
op
> Cc: ZHAO, BING; [EMAIL PROTECTED]; beginners@perl.org
> Subject: Re: PS what is the correct/efficient function to
> create a file
>
>
> You could always use Shell module.
>
> > Hi,
> >unlink $file works fine, but link $file doesn't
> >
You could always use Shell module.
Hi,
unlink $file works fine, but link $file doesn't even
exist,
The sysopen function seems to be tedious, does anyone
know how to effectively
create a file in some directory in perl?
--
To unsubscribe, e-mail: [EMA
print OUTFILE $_;
}
close OUTFILE;
#
-Original Message-
From: ZHAO, BING [mailto:[EMAIL PROTECTED]
Sent: Monday, November 07, 2005 2:24 PM
To: [EMAIL PROTECTED]; beginners@perl.org
Subject: PS what is the correct/efficient function to create
Hi,
unlink $file works fine, but link $file doesn't even exist,
The sysopen function seems to be tedious, does anyone know how to effectively
create a file in some directory in perl?
thanks a lot
best,
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addi