I was asked to use the local machine to code in PERL using ActivePERL software. I have no clue how to use it. I am trying to figure out but some quick help will be highly appreciated.
Thanks
active perl is used pretty much just like perl on any other system. Download the correct version for your operating sytem of activestate perl from the below link and install it:
I did download Activestate and also started reading the documentation. But where do I code. I know I might be sounding stupid. But the command promt is ppm>
I tried emacs, pico to start editing. But I guess I am completely wrong somewhere.
Please help.
Oh...I was supposed to use command prompt. As of now I seem to be ok. I will be back with more obvious questions for a while ...but I am sure I will improve :)
Thanks
You can use any text editor to write your perl code, save it to a file and run it from the commad line. If later you want to write CGI scripts you will need an http server installed also. Open notepad, write:
print "hello world";
save as test.pl (or 'test.txt' or 'test.foo', the extension is not important with windows)
then at command prompt:
perl test.pl
usually no path to perl line is needed for command line scripts with windows, but you can add it if you want to:
Comment