Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Text File Section Extractor

by toolic (Bishop)
on Apr 10, 2009 at 00:36 UTC ( #756729=note: print w/replies, xml ) Need Help??


in reply to Text File Section Extractor

An alternative to your state variable technique is to use Perl's Range Operators.

A standard way to process command-line arguments is to use the core module Getopt::Long. And since you offer all these options, a standard way to describe them is to use the core module Pod::Usage.

When you're ready to start using modules, the Monastery offers some great reading on the topic:

Tutorials -> Creating and Distributing Modules -> Simple Module Tutorial

Enjoy.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://756729]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2020-01-17 18:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?