in reply to Command Line Options
and run the code like: prog.pl -name="Jeff Pinyan" -sex=male -age=19. I even got 10 characters or so added to Perl's source code to allow double-hyphens (if you're into that sort of thing).#!/usr/bin/perl -ws use strict; our ($name, $age, $sex); # ...
|
---|