You would probably best be served by getting a text editor that allows you to run your programs from the editor. Personally I use ConText - syntax highlighting and it's free, plus it lets you set up the function keys to run your Perl programs and lets you see the text output in the bottom window - but there are many others to choose from. Search on here and you'll get many opinions.
That said, the short answer is use the cd command to change to the directory your program is in, and in addition make sure that Perl is in your path - ActiveState should have done that for you I believe. That should do the trick.
Since you're not that good with DOS you'd be best to do a Google search for DOS commands or a DOS tutorial.
Good luck!
Revolution. Today, 3 O'Clock. Meet behind the monkey bars.
I would love to change the world, but they won't give me the source code
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.