IT SOLUTIONS
Your full service technology partner! 
-Collapse +Expand
Perl
Search Perl Group:

Advanced
-Collapse +Expand Perl To/From
To/FromCODEGuides
-Collapse +Expand Perl Store
PRESTWOODSTORE
   ► KBWebsite Scri...PerlBeginners Co...   Print This     

Perl KB: Beginners Corner Topic


15 Articles Found in the Beginners Corner Topic 

  KB Article    

Mike Prestwood
1. A 10 Minute Perl Quick Start

A short 10 minute Perl primer. Get started in Perl now!

17 years ago, and updated 11 years ago
(3 Comments , last by Ann.M )

Article
Nothing New Since Your Last Visit
21657
Hits

Perl

Mike Prestwood
2. Perl Case Sensitivity (Yes)

Perl is case sensitive.

12 years ago, and updated 11 years ago

Code
Nothing New Since Your Last Visit
8062
Hits

Perl

Mike Prestwood
3. Perl Code Blocks

In Perl, you create the entire HTML page within your .PL script file using print commands.

For Perl, PHP, JavaScript, Java,and C++, I prefer to put the first { at the end of the first line of the code block as in this example because I see morePeal codeformatted that way.

12 years ago, and updated 11 years ago

Code
Nothing New Since Your Last Visit
7670
Hits

Perl

Mike Prestwood
4. Perl Comparison Operators (==, !=)

Common comparison operators:

== equal
!= not equal
< less than
> greater than
<= less than or equal
>= greater than or equal

11 years ago
(3 Comments , last by EliteExpress )

Code
Nothing New Since Your Last Visit
12150
Hits

Perl

Mike Prestwood
5. Perl Deployment Overview

With Perl, you simply copy your files to a web server that is capable of running Perl pages.

11 years ago

Code
Nothing New Since Your Last Visit
8331
Hits

Perl

Mike Prestwood
6. Perl File Extensions (.pl, .plex, and .aspl)

.pl is the traditonal default extension for Perl although some developers will change the default extension in an effort to add an additional security level and .cgi is still popular as a Perl associated extension as well as .plex and .aspl.

  • .pl - Perl
  • .cgi - Common Gateway Interface
  • .plex - Perl Executable
  • .aspl - Active Server Perl
12 years ago, and updated 11 years ago

Code
Nothing New Since Your Last Visit
11594
Hits

Perl

Mike Prestwood
7. Perl If Statement (if..elsif..else)

Notice Perl is different from most other languages in it's spelling of elsif (else is not spelled correctly).

11 years ago

Code
Nothing New Since Your Last Visit
7642
Hits

Perl

Mike Prestwood
8. Perl Literals (quote)

Literals are quoted as in "Prestwood".  If you need to embed a quote use a slash in front of the quote as in \"

12 years ago, and updated 11 years ago

Code

KB Post
Nothing New Since Your Last Visit
13956
Hits

Perl

Mike Prestwood
9. Perl Logical Operators

Perl logical operators:

&& or and and, as in this and that
|| or or or, as in this or that
! Not, as in Not This

11 years ago

Code
Nothing New Since Your Last Visit
9055
Hits

Perl

Mike Prestwood
10. Perl Overview and History

Language Overview: Perl is a stable, cross platform programming language.

Target Platforms: Perl is most suitable for creating websites targeting any browser (any web server with the Perl module installed).

History: PERL is an acronym for Practical Extraction and Report Language. It is used for mission critical projects in the public and private sectors. Perl is Open Source software, licensed under its Artistic License, or the GNU General Public License (GPL). Perl was created in 1987 by Larry Wall.

12 years ago, and updated 11 years ago

Code
Nothing New Since Your Last Visit
11089
Hits

Perl

Mike Prestwood
11. Perl Report Tools Overview

Because website development targets a client browser (a document interfaced GUI), a common solution is to simply output an HTML formatted page with black text and a white background (not much control but it does work for some situations).

12 years ago, and updated 12 years ago

Code
Nothing New Since Your Last Visit
8108
Hits

Perl

Mike Prestwood
12. Perl String Concatenation (.)

Perl String Concatenation

Perl uses a period (.) known as a dot to concatenate strings.

12 years ago, and updated 11 years ago

Code
Nothing New Since Your Last Visit
7391
Hits

Perl

Mike Prestwood
13. Perl Unary Operators

An operation with only one operand (a single input). The following are the Perl unary operators: !, -, ~, +,�\, &, and *.

  • ! performs logical negation which is "not"
  • - performs arithmetic negation if the operand is numeric.
  • ~ performs bitwise negation, that is 1's complement.
  • + has no semantic effect whatsoever, even on strings.
  • \ creates a reference to whatsoever follows.
  • & Address of operator.
  • * Dereference address operator.
12 years ago, and updated 11 years ago

Code
Nothing New Since Your Last Visit
14165
Hits

Perl

Mike Prestwood
14. Perl Variables ($x = 0;)

Perl is a loosely typed language with only three types of variables: scalars, arrays, and hashes. Use $ for a scalar variable, @ for an array, or % for a hash (an associative array). The scalar variable type is used for anytype of simple data such as strings, integers, and numbers. In Perl, you identify and use a variable with a $ even within strings

12 years ago, and updated 10 years ago

Code

KB Post
Nothing New Since Your Last Visit
11538
Hits

Perl

Mike Prestwood
15. PHP Case Sensitivity (Yes and No)

PHP is case sensitive with variable names but not with commands. Although commands are case incenstive, I prefer to use all lowercase because it's easy to type and that's what I see most PHP coders doing and I see it on PHP.Net.

12 years ago, and updated 11 years ago

Code
Nothing New Since Your Last Visit
7019
Hits

Perl

Icon Legend:
Since your last logged visit:
- New to you or updated since your last visit (sign in now to activate).
- NOT new to you since your last visit (sign in now to activate).

New Perl Knowledge Base Post...

Share your knowledge with the WORLD! In addition to adding comments to existing posts, you can post knowledge you've acquired. We welcome full articles (intro with screen shots), general posts (shorter), and tidbits (tips, FAQs, definitions, etc.).

Post New...

Tidbit Post: Short Flashcard FAQ Definition Quick Tip Code Snippet
Longer Post: Full Article General Post File Link Error News
Other: Blog Topic
Or, if YOU have a question...
  Perl Message Board
Go ahead!   Use Us! Call: 916-726-5675  Or visit our new sales site: 
www.prestwood.com


©1995-2020 Prestwood IT Solutions.   [Security & Privacy]