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

Errors in files

Most of the time the reason why errors occur in files is due to people not changing the file permission as described above. To help you to identify problems you can run the file with a warning favility turned on. This will display warnings and other messages before it tries to execute the program.

 

perl -w file_name.pl

 

Otherwise you can run the file with the debugger.... compiles the file before runnig it...which can speed up the running of the file, but explains why you can get compilation errors when you execute a Perl file which consists only of text

 

perl -d file_name.pl

 

Dont proceede to the next stage until you get the file working....if you need more help getting it to work you can use these resources:

 

www.perl.com/CPAN (redirects to

another mirror)

 

www.perl.org/CPAN

ftp://ftp.funet.fi/pub/languages/perl/CPAN/

www.cs.ruu.nl/pub/PERL/CPAN/

ftp://ftp.cs.colorado.edu/pub/perl/CPAN/



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