in reply to curly braces around a lexical file handle
map ( { ... } ... ) grep ( { ... } ... ) print ( { ... } ... ) exec ( { ... } ... ) system ( { ... } ... )
In print's case,
In other words,
is a shortcut forprint $write_fh "$database_query";
print { $write_fh } "$database_query";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: curly braces around a lexical file handle
by JavaFan (Canon) on May 31, 2010 at 18:40 UTC | |
by ikegami (Patriarch) on May 31, 2010 at 20:26 UTC | |
|
Re^2: curly braces around a lexical file handle
by Anonymous Monk on May 31, 2010 at 16:44 UTC | |
by ikegami (Patriarch) on May 31, 2010 at 16:52 UTC |