I want to be able to run my program in unix in this way:
perl filename -p hhc -v 2
Then i want to designate hhc into a variable called '$prefix' and 2 into a variable '$version'. I am under the impression that this is possible. How would I store these values into the appropriate variables?
Note, it is possible that it will not always be necessary to insert an initial prefix and version.
Hope this made sense. Thanks.
perl filename -p hhc -v 2
Then i want to designate hhc into a variable called '$prefix' and 2 into a variable '$version'. I am under the impression that this is possible. How would I store these values into the appropriate variables?
Note, it is possible that it will not always be necessary to insert an initial prefix and version.
Hope this made sense. Thanks.