Creating a Perl program in Corel LINUX
You can program a simple Perl program in Corel LINUX. You can write the Perl program in the Text Editor available in Corel LINUX. The following program will display the text "Hello There."
To create a Perl program in Corel LINUX
1. Click Application Starter, Utilities, Text Editor.
2. Type the following lines of code in the Advanced Editor:
#!/usr/bin/perl
print "Hello There \n";
3. Save the file and call it:
hello.pl
Notes
Perl commands are case-sensitive. Make sure that the print command is in lower case.
You should save this file in the directory specified in the ScriptAlias directive. For information on saving a file in Corel LINUX, see the Corel LINUX User Guide.
You have to change the file permission before you can execute the Perl program. For information on changing the permission of a file, see "Changing the file permission of a Perl program."