Perl Syntax

Tutorials Shared by the Internet Community

Advertisements


Synopsis

This tutorial is an introductory look at the Perl language and its syntax.

Statistics

  • Total Hits - 27847

  • Total Votes - 114 votes

  • Vote Up - 50 votes

  • Vote Down - 64 votes

  • Domain - www.codebeach.com

  • Category - Perl & CGI/Getting Started

  • Submitted By - Devesh Khanna

  • Submitted on - 2008-03-16 01:02:35

Description

This tutorial is an introductory look at the Perl language and its syntax.

Semicolons
All Perl lines must end in semicolons. Perl does not use the carriage return to indicate the end of a line, it uses the semicolon.

$myName = "Jerry";
print "Hello, $myName\n"; ...


Site  |   Broken  |   Tweet  |   Facebook  |     |   Save  |   Liked  |   Down

Advertisements