Joel wrote: > I'm interested in learning to program perl, and I just got ActivePerl for Windows. I > am running XP and have a few questions. First off, how do I run the interpreter > under Windows, preferably without the XP command prompt?
Spend lots of money somewhere on a fancy wrapper, which will likely making your coding more, and not less difficult. > Also, when I opened perl, it looked like the command prompt. I can't pin down what you are trying to describe here. Okay, I just tried it. It is not exactly a command prompt. It seems to be a command environmment based on the same specs as the command prompt, but generated specifically to run perl.exe, rather than as a generalized command shell. Just start typing code into it, and press Ctl-Z and Enter to run. Unfortunately, you will not see the output, as the winodw will disappear as soon as execution is complete. > Is the command prompt accesable through perl? Better the other way around. What is the problem you see with the command prompt? I would advise getting used to it. A compiler or interpreter is one software, a code editor is another. You can press Alt-Tab to switch between editing and compiler commands jsut as quickly as chasing menus with a plastic rodent. Perl was designed for calling from a command shell. The Windows command shell has many semi-convenient editing features, inclding copy-and-paste [though the XP version is intentionally more of a pain-in-the-ass than the W2K version, as with almost every professional aspect of the OS]. > Finally is the "#!usr/bin/perl line necessary under XP? Nope. It might be a good idea to keep it in scripts that may be ported to standard Linux distros, though. The Perl interpreter does read the switches from the shebang line, though. Joseph -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>