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); # ...
In reply to Re: Command Line Options
by japhy
in thread Command Line Options
by bitswitch
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |