[Cover] [Previous Section] [Next Section] [Index]

Current chapter: Perl File Utilities
Section 61 out of 79 total sections , Section 3 out of 5 sections in this chapter


CloseWithLock()


Description

Closes and unlocks a file handle that has been opened using OpenWithLock().


Synopsis


Arguments

Argument  Meaning  
$fh  

Reference to the file handle to unlock and close.  


Example

The following code generates a deck with a counter.

FIGURE  11-1.     Simple deck with a counter


[Cover] [Previous Section] [Next Section] [Index]

Current chapter: Perl File Utilities
Section 61 out of 79 total sections , Section 3 out of 5 sections in this chapter


Copyright © 1999, Unwired Planet, Inc. All rights reserved.