![]() ![]() ![]() ![]() ![]() |
! Aware >
Perl >
File System Access > File Access >
File Access
|
Home Subjects By activity User Interface Text Strings Math Processing
Stored Data
Communications
Hard World File System
|
Related Subjects (Perl) |
This topic, "File Access", describes operations which work with entire files. Functions which read and write the contents of files are described at Stdio Stream file operations - Buffered access of files and devices. fopen, fputc, fgetc, et al.
Low level file and device operations Unbuffered access of files and devices. (ioctl, fcntl, /dev, et al)
File filtering and processing Methods of filtering and processing files. (character translation, comparison, search, sort, word counts, etc.)
See also: File Information - Obtaining file information (status, configuration, et al)
See also: Directory Access - Accessing directories of files, browsing, management, et al.
See also: File Access Limits - Limiting access to files (permissions, locking, et al)
See also: File System Information - Obtaining information of the filesystem as a whole. Status of disk subsystems, capacity, etc.
Up to File System Access - Gateway topic to file system (files and directory) access and operations.
(Perl delta 5.003 to 5.004) Internal change: FileHandle class based on IO::* classes
(Perl delta 5.003 to 5.004) Internal change: PerlIO abstraction interface
(Perl delta 5.003 to 5.004) sysseek()
(Perl delta 5.003 to 5.004) PRINT this, LIST
(Perl delta 5.003 to 5.004) PRINTF this, LIST
(Perl delta 5.003 to 5.004) READ this LIST
(Perl delta 5.003 to 5.004) READLINE this
(Perl delta 5.003 to 5.004) GETC this
(Perl delta 5.003 to 5.004) DESTROY this
(Perl delta 5.003 to 5.004) Fcntl
(Perl delta 5.003 to 5.004) IO No qualified books.
How can I open a file with a leading ">" or trailing blanks?
Where do I get the include files to do ioctl() or syscall()?
Why can't my script read from STDIN after I gave it EOF (^D on Unix, ^Z on MS-DOS)?
(Perl builtin function) binmode FILEHANDLE Arranges for the file to be read or written in ``binary'' mode
(Perl builtin function) close FILEHANDLE Closes the file or pipe associated with the file handle.
(Perl builtin function) eof FILEHANDLE Returns 1 if the next read on FILEHANDLE will return end of file, or if FILEHANDLE is not open.
(Perl builtin function) fcntl FILEHANDLE,FUNCTION,SCALAR Implements the fcntl(2) function.
(Perl builtin function) fileno FILEHANDLE Returns the file descriptor for a filehandle.
(Perl builtin function) getc FILEHANDLE Returns the next character from the input file
(Perl builtin function) ioctl FILEHANDLE,FUNCTION,SCALAR Implements the ioctl(2) function.
(Perl builtin function) open FILEHANDLE,EXPR Opens the file whose filename is given by EXPR.
(Perl builtin function) read FILEHANDLE,SCALAR,LENGTH,OFFSET Attempts to read LENGTH bytes of data
(Perl builtin function) seek FILEHANDLE,POSITION,WHENCE Sets FILEHANDLE's position
(Perl builtin function) select FILEHANDLE Returns the currently selected filehandle.
(Perl builtin function) symlink OLDFILE,NEWFILE Creates a new filename symbolically linked to the old filename.
(Perl builtin function) sysopen FILEHANDLE,FILENAME,MODE Opens the file
(Perl builtin function) sysread FILEHANDLE,SCALAR,LENGTH,OFFSET Attempts to read LENGTH bytes of data
(Perl builtin function) sysseek FILEHANDLE,POSITION,WHENCE Sets FILEHANDLE's system position using the system call lseek(2).
(Perl builtin function) syswrite FILEHANDLE,SCALAR,LENGTH,OFFSET Attempts to write LENGTH bytes of data
(Perl builtin function) truncate FILEHANDLE,LENGTH Truncates the file
(Perl builtin function) unlink LIST Deletes a list of files. Returns the number of files successfully deleted.
(Perl builtin function) write FILEHANDLE Writes a formatted record (possibly multi-line) to the specified file
(Perl operators) I/O Operators
p5-File-Sync-0.09 Perl5 module interface to the UNIX sync(2) and POSIX.1b fsync(2)
perl5 module for single call read & write file routines. p5-File-Slurp-98.071901 Perl5 module for single call read & write file routines
perl5 module for several file operations: Copy, Recurse and Tools. p5-File-Tools-2.0 Perl5 module for several file operations: Copy, Recurse and Tools
File::Copy - Lets you copy files within Perl, by either names or filehandles. Now part of the File::Tools module. [Perl] {oss}
Detailed Filter and Focus Checklist |