...
EXP32-EX2: The autodie module is designed to replace functions that return a value indicating failure with functions that throw an exception on failure. When autodie is in use, any functions it redefined redefines may be safely ignored.
| Code Block | ||||
|---|---|---|---|---|
| ||||
use autodie; my $source; open(SOURCE, "<", $source); @lines = (<SOURCE>); close(SOURCE); |
...