sysopen fails
From: Mauro (mauog_at_interfree.it)
Date: 04/28/04
- Next message: Ryan Thomas: "Not Exactly Perl prob but!"
- Previous message: Sumanth Sharma: "Re: s/// Vs tr///"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 28 Apr 2004 00:18:25 -0700
Hi all, I'm tring to open a file using sysopen but I get an error:
This is what I try to do:
#!/usr/bin/perl
$filename = "BAD_SPARSE_FILE" ;
sysopen(FH, $filename, O_RDWR|O_CREAT|O_EXCL, 0666) or die "Can't open
$filename: $!" ;
close(FH) ;
And this is the error returned by "die":
Can't open BAD_SPARSE_FILE: No such file or directory at ./sparse_file
line 3.
Could You help me?
Thank You
- Next message: Ryan Thomas: "Not Exactly Perl prob but!"
- Previous message: Sumanth Sharma: "Re: s/// Vs tr///"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]