Perl CookbookBook TitleSearch this book Symbols & Numbers | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z

Index: F

failure, returning from subroutines : 10.10. Returning Failure
false strings : 1.0. Introduction
fcntl( )
7.14. Doing Non-Blocking I/O
10.10. Returning Failure
fdirs program (example) : 9.7. Processing All Files in a Directory Recursively
fdopen( ) (IO::Handle) : 7.19. Opening and Closing File Descriptors by Number
FETCH( ) : 13.15. Creating Magic Variables with tie
fetching URLs from Perl scripts : 20.1. Fetching a URL from a Perl Script
fifolog program (example) : 16.11. Making a Process Look Like a File with Named Pipes
FIFOs (named pipes) : 16.11. Making a Process Look Like a File with Named Pipes
file access
(see also directories; file contents)
7.0. Introduction
9.0. Introduction
access modes : 7.0. Introduction
caching open filehandles : 7.17. Caching Open Output Filehandles
copying filehandles : 7.20. Copying Filehandles
copying or moving files : 9.3. Copying or Moving a File
deleting files : 9.2. Deleting a File
editing files : (see file contents)
filtering filename input : 7.7. Writing a Filter
flushing output : 7.12. Flushing Output
locking files
7.11. Locking a File
7.21. Program: netlock
region-specific locks : 7.22. Program: lockarea
non-blocking I/O : 7.14. Doing Non-Blocking I/O
number of bytes to read : 7.15. Determining the Number of Bytes to Read
opening files : 7.1. Opening a File
opening/closing file descriptors : 7.19. Opening and Closing File Descriptors by Number
printing to multiple filehandles : 7.18. Printing to Many Filehandles Simultaneously
processing all files in directories
9.5. Processing All Files in a Directory
9.7. Processing All Files in a Directory Recursively
reading from multiple filehandles : 7.13. Reading from Many Filehandles Without Blocking
storing files in program text : 7.6. Storing Files Inside Your Program Text
timestamps : 9.1. Getting and Setting Timestamps
file contents
(see also directories; file access)
8.0. Introduction
9.0. Introduction
adding records to wtmp file : 8.18. Program: tailwtmp
configuration files, reading : 8.16. Reading Configuration Files
continually growing files, reading : 8.5. Trailing a Growing File
counting lines/paragraphs/records : 8.2. Counting Lines (or Paragraphs or Records) in a File
extracting single line : 8.8. Reading a Particular Line in a File
fixed-length records
8.0. Introduction
8.15. Reading Fixed-Length Records
modifying
with -i option : 7.9. Modifying a File in Place with -i Switch
with temporary files : 7.8. Modifying a File in Place with Temporary File
without temporary files : 7.10. Modifying a File in Place Without a Temporary File
processing all words in : 8.3. Processing Every Word in a File
processing binary files : 8.11. Processing Binary Files
random access I/O : 8.12. Using Random-Access I/O
random lines from : 8.6. Picking a Random Line from a File
randomizing line order : 8.7. Randomizing All Lines
reading backwards : 8.4. Reading a File Backwards by Line or Paragraph
reading lines with continuation characters : 8.1. Reading Lines with Continuation Characters
reading strings from binary files : 8.14. Reading a String from a Binary File
reading/writing hash records to file : 11.10. Reading and Writing Hash Records to Text Files
tctee program : 8.19. Program: tctee
testing for trustworthiness : 8.17. Testing a File for Trustworthiness
text files as database arrays : 14.7. Treating a Text File as a Database Array
variable-length text fields : 8.9. Processing Variable-Length Text Fields
viewing lastlog file information : 8.20. Program: laston
file descriptors, opening/closing : 7.19. Opening and Closing File Descriptors by Number
file stat cache (_) : 9.0. Introduction
__FILE__ symbol : 10.4. Determining Current Function Name
File::Basename module : 9.10. Splitting a Filename into Its Component Parts
File::Copy module : 9.3. Copying or Moving a File
File::Find module
9.7. Processing All Files in a Directory Recursively
9.8. Removing a Directory and Its Contents
File::KGlob module : 9.6. Globbing, or Getting a List of Filenames Matching a Pattern
File::LockDir module : 7.21. Program: netlock
File::stat module
8.5. Trailing a Growing File
9.0. Introduction
FileCache module : 7.17. Caching Open Output Filehandles
FileHandler module : 7.0. Introduction
filehandles : 7.0. Introduction
caching open filehandles : 7.17. Caching Open Output Filehandles
copying : 7.20. Copying Filehandles
local
7.16. Storing Filehandles in Variables
10.13. Saving Global Values
non-blocking I/O : 7.14. Doing Non-Blocking I/O
passing
7.16. Storing Filehandles in Variables
10.13. Saving Global Values
12.5. Determining the Caller's Package
printing to multiple simultaneously : 7.18. Printing to Many Filehandles Simultaneously
reading from many : 7.13. Reading from Many Filehandles Without Blocking
reporting filenames in errors : 7.4. Making Perl Report Filenames in Errors
storing as variables
7.0. Introduction
7.16. Storing Filehandles in Variables
tied : 13.15. Creating Magic Variables with tie
filenames
expanding tildes in : 7.3. Expanding Tildes in Filenames
filtering as input : 7.7. Writing a Filter
matching with patterns : 9.6. Globbing, or Getting a List of Filenames Matching a Pattern
multiple, for same file : 9.4. Recognizing Two Names for the Same File
parsing : 9.10. Splitting a Filename into Its Component Parts
renaming : 9.9. Renaming Files
reporting in errors : 7.4. Making Perl Report Filenames in Errors
sorting
9.0. Introduction
9.12. Program: lst
strange, opening files with : 7.2. Opening Files with Unusual Filenames
fileparse( ) : 9.10. Splitting a Filename into Its Component Parts
files
deleting last line of : 8.10. Removing the Last Line of a File
temporary : 7.5. Creating Temporary Files
filesystem : (see directories)
filtering filenames as input : 7.7. Writing a Filter
filtering output : 16.5. Filtering Your Own Output
FindBin module : 12.7. Keeping Your Own Module Directory
finddepth( ) : 9.8. Removing a Directory and Its Contents
finding
most common anything : 5.14. Finding the Most Common Anything
patterns : (see pattern matching; regular expressions)
findlogin program (example) : 7.7. Writing a Filter
FIONREAD call : 7.15. Determining the Number of Bytes to Read
firewalls, connecting through : 17.18. Program: fwdport
fisher_yates_shuffle( ) : 4.17. Randomizing an Array
fixed-length records
8.0. Introduction
8.15. Reading Fixed-Length Records
FixNum class : 13.14. Overloading Operators
fixstyle program (example) : 1.17. Program: fixstyle
fixstyle2 program (example) : 1.17. Program: fixstyle
flattened lists : 4.0. Introduction
floating-point numbers : 2.0. Introduction
comparing : 2.2. Comparing Floating-Point Numbers
rounding : 2.3. Rounding Floating-Point Numbers
flock( )
7.11. Locking a File
7.21. Program: netlock
floor( ) : 2.3. Rounding Floating-Point Numbers
flushing output : 7.12. Flushing Output
fmt program : 1.12. Reformatting Paragraphs
folded_demo program (example) : 13.15. Creating Magic Variables with tie
foodfind program : 5.8. Inverting a Hash
=for escape pod directive : 12.16. Documenting Your Module with Pod
foreach( ) : 4.12. Finding the First List Element That Passes a Test
fork( )
(see also processes)
16.0. Introduction
16.10. Communicating Between Related Processes
19.6. Executing Commands Without Shell Escapes
avoiding zombies : 16.19. Avoiding Zombie Processes
closing socket after : 17.9. Closing a Socket After Forking
forking servers : 17.11. Forking Servers
non-forking servers : 17.13. Non-Forking Servers
pre-forking servers : 17.12. Pre-Forking Servers
forms (HTML) : 19.0. Introduction
saving or emailing : 19.13. Saving a Form to a File or Mail Pipe
sticky widgets : 19.11. Creating Sticky Widgets
submitting : 20.2. Automating Form Submission
Frame widget (Tk) : 15.14. Creating Menus with Tk
fresh hyperlinks, finding : 20.8. Finding Fresh Links
Friedl, Jeffrey : 6.10. Speeding Up Interpolated Matches
FTP clients : 18.2. Being an FTP Client
full-screen mode : 15.0. Introduction
functions : (see subroutines)
interpolating within strings : 1.10. Interpolating Functions and Expressions Within Strings
methods vs. : 13.9. Writing an Inheritable Class
references to : 11.4. Taking References to Functions
fuzzy matching : 6.13. Approximate Matching
fwdport program (example) : 17.18. Program: fwdport


Symbols & Numbers | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z
Library Navigation Links

Copyright © 2002 O'Reilly & Associates. All rights reserved.