Perl Best Practices [Electronic resources] نسخه متنی
لطفا منتظر باشید ...
B.13. Chapter 14, Command-Line Processing
- Enforce a single consistent command-line structure. [Command-Line Structure ]
- Adhere to a standard set of conventions in your command-line syntax. [Command-Line Conventions ]
- Standardize your meta-options. [Meta-options ]
- Allow the same filename to be specified for both input and output. [In-situ Arguments ]
- Standardize on a single approach to command-line processing. [Command-Line Processing ]
- Ensure that your interface, run-time messages, and documentation remain consistent. [Interface Consistency ]
- Factor out common command-line interface components into a shared module. [Interapplication Consistency ]