86

The Command Line
Exercise

  • There are many ways to parse command line arguments in Perl, but a do-it-yourself solution works as well as any...


    Exercise
    1. Create/Edit a text file called "cmdline".
    2. Type in (or copy-and-paste) the "cmdline" script from the previous slide
    3. Run your new cmdline script.
    4. Take a look at the "Solution" file for some additional ideas.
    See Prev
    Slide
    To
    Start

    Solution