OK... so here I am teaching my self Perl. I am learning in the proper way (taking others scripts and learning from them, and converting my bash scripts to perl as a way to learn while doing.)
So here is my current snag... can i use command line options when running a perl program??
For example, in bash, I can set it up so that:
command opt1 opt1
translates opt1 into $1 and opt2 into $2.
but I havent gotten this to work in perl yet. I can do it using stdin variable declarations ($variable=<stdin>) but that makes the scripts a little more intensive than I want.
I simply want to run a script like this:
and not like this:
ENTER DIRECTION: fromhost