Cyber Sentry
Qmail Help Section
Perl Tutorial
Linux Command Line Help
Computer Resources

Running the program
toy luck betting roulette win fast

To run your first perl script you must type the text into a text editor and save the file in your cgi-bin directory. Most people use pico, vi or emacs as their text editor, you should use the one that you are comfortable with:

 

More editors can be found at: www.linux.com/interact/links/Software/Editors/

 

After the file has been entered and saved you now need to make it executable. To do this you must run the following command:

 

chmod u+x file_name.pl

 

at the UNIX prompt, where file_name.pl is the program. Now to run the program just type any of the following at the prompt.

 

perl file_name.pl

./file_name.pl

 



Your first program
Running the program
Errors in files
Scalar variables
Operations and Assignment
Outputing Variables
Array variables
Array assignments
File handling
Repeating Commands (loops etc)
Conditionals
String matching
Substitution and translation
Split
Returning values
Associative arrays
Environment variables
Subroutines


Copyright 2005 + 2006, Cyber Sentry Ltd, All Rights Reserved.
 

Cyber Sentry -- Application Development Sitemap 1 2 3