in reply to filehandle close causes hang
Also, please note that unless you need specifically a list context you can do my $lexical_variable; rather than my ($lexical_variable);. In cases where the function or operator to the right of the equals sign has a different behaviour depending on the context this can really trip you up!
CountZero
PS: please remove the <br> tags and replace them by newlines.
A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: filehandle close causes hang
by marymarvel1 (Initiate) on Jun 09, 2008 at 14:58 UTC | |
|
Re^2: filehandle close causes hang
by marymarvel1 (Initiate) on Jun 09, 2008 at 19:05 UTC |