|
|
|
|
Modern Perl best practices emphasize high-level strategy and technical discipline to ensure code longevity:
: Always include use strict; and use warnings; to catch common syntax errors and unsafe practices early.
: Throw exceptions using croak or die instead of returning special "failure" values like undef .
Modern Perl best practices emphasize high-level strategy and technical discipline to ensure code longevity:
: Always include use strict; and use warnings; to catch common syntax errors and unsafe practices early.
: Throw exceptions using croak or die instead of returning special "failure" values like undef .
Post Reply |
| Bookmarks |
|
|