in reply to Substring for command line entry

Wether homework or not, I highly recommend studying the Getopt module which is part of the standard distribution and can handle command line input pretty well.

Have a nice day
All decision is left to your taste

Replies are listed 'Best First'.
Re^2: Substring for command line entry
by Aristotle (Chancellor) on Jun 21, 2002 at 19:40 UTC
    The Getopt:: modules don't do anything that could help him though.

    Makeshifts last the longest.

      At least its a starting point if you need to write shell scripts or ambivalent ones. Only if you know what your input is you can process on the input (as is).
      Have a nice day
      All decision is left to your taste