 |
|
 |
Perl | A Wisdom Archive on Perl |  | Perl A selection of articles related to Perl |  |
|
More material related to Perl can be found here:
|
|
|  | |
perl, Perl, Perl - CPAN, Perl - Fun with Perl, Perl - Future, Perl - History, Perl - Language design, Perl - Language structure, Perl - Name, Perl - Opinion, Perl - Overview, Perl - Applications, Perl - Availability, Perl - Con, Perl - Control structures, Perl - Data types, Perl - Database interfaces, Perl - Example Program, Perl - Implementation, Perl - Language features, Perl - Pro, Perl - Regular expressions, Perl - Subroutines, Perl - The Camel Symbol, Perl 6, CPAN, The Perl Foundation, Larry Wall, Just another Perl hacker, Obfuscated Perl contest, POE- the Perl Object Environment
|  | | » Page 1 « Page 2 Page 3 More » |  |
 | |
|
ARTICLES RELATED TO Perl |  |  |  | Perl: Encyclopedia II - Perl - SyntaxThe overall structure of Perl derives broadly from the programming language C. Perl is a procedural programming language, with variables, expressions, assignment statements, brace-delimited code blocks, control structures, and subroutines.
Perl also takes features from shell programming. All variables are marked with leading sigils. Sigils unambiguously identify variable names, allowing Perl to have a rich syntax. Importantly, sigils allow variables to be interpolated directly into strings. Like the Unix shells, Perl has many built-in functions for common tasks, like sorting, and f ...
See also:Perl, Perl - History, Perl - Future, Perl - The name Perl, Perl - The camel symbol, Perl - Philosophy, Perl - Usage, Perl - Syntax, Perl - Sample code, Perl - Data structures, Perl - Control structures, Perl - Subroutines, Perl - Regular expressions, Perl - Resources, Perl - Implementations, Perl - Database interfaces, Perl - CPAN, Perl - Availability, Perl - Supported platforms, Perl - License, Perl - Opinion, Perl - Pro, Perl - Con, Perl - Fun with Perl Read more here: » Perl: Encyclopedia II - Perl - Syntax |
|  |
|
 |  |  | Perl: Encyclopedia II - Perl - Language structure
Perl - Example Program.
In Perl, the canonical "Hello world" program is:
#!/usr/bin/perl
print "Hello, world!\n";
The first line is the shebang, which tells the operating system where to find the Perl interpreter. The second line prints the string Hello, world! and a newline (like a person pressing 'Return' or 'Enter').
The shebang is the usual way to invoke the interpreter on Unix systems. Windows systems may rely on the shebang, or they may associate a .plSee also: Perl, Perl - Overview, Perl - Language features, Perl - Applications, Perl - Implementation, Perl - Availability, Perl - Language structure, Perl - Example Program, Perl - Data types, Perl - Control structures, Perl - Subroutines, Perl - Regular expressions, Perl - Database interfaces, Perl - Language design, Perl - Opinion, Perl - Pro, Perl - Con, Perl - History, Perl - Future, Perl - CPAN, Perl - Name, Perl - The Camel Symbol, Perl - Fun with Perl Read more here: » Perl: Encyclopedia II - Perl - Language structure |
|  |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
 | | » Page 1 « Page 2 Page 3 More » |  |
 | |
|
|
More material related to Perl can be found here:
|
|
|
 | |