print "Hello drewboy!\n";
Get a dos window. Click on the MS-DOS Prompt icon under Start|Program Files. You will have the prompt c:\windows> indicating you are in the c:\windows dir. Type cd .. This command stands for Call Directory and the .. means one directory up in the tree. You could also use cd c:\ which means call the dir c:\ Anyway you will then have the c:\> prompt. Type perl test.pl and your first perl prog will run. You need to hit enter at the end of each command if you have been totally born in the age of point and click. If it does not and gives an error see CGI Help Guide - the first bit on running scripts from the command line. In short the PATH var needs to be set so that the shell (DOS) can find the Perl exe to run your script with.
Sorry I will help you with perl problems but will not rewrite slow perl scripts (for free anyway :-). If you paid good money you deserve good service.
As your flat file gets bigger you will need a RDBMS (Rellational Database Management System) like MySQL, Oracle... if you want speed. Period. Certainly you can encode a lot of the functionality in Perl using flat files but it will never be as fast as RDBMS using custom C/C++ compiled code and proprietary alogirithms to generate their speed. Databases exist to address this speed issue amongst others.
To find out about grep type grep into the search text field on the top left of Perl Monks.
I will not answer any more questions on this thread as we are now RE:RE:RE:RE:RE:RE:RE which no one except us reads so no one except you benefits. Post a new thread with spcific issues as they occur. I'll probably answer if I have a moment - if not others will.
cheers
tachyon
s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print
|