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 directory in perl?
This should work, and is not terribly tedious:
open(undef, '>>/tmp/foo') or die $!;
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>