in reply to Re^2: A Beginner Needs Homework help
in thread A Beginner Needs Homework help

"I don't have a windows, I have a mac. Does that matter?"

I have a Mac. I start all my scripts like this:

#!/usr/bin/env perl

When you start using "Command Switches", you can add them after that. For example, here's one I commonly use:

#!/usr/bin/env perl -l

-- Ken