I.T. Discussion Community!
-Collapse +Expand
Perl
Search Perl Group:

Advanced
-Collapse +Expand Perl To/From
To/FromCODEGuides
-Collapse +Expand Perl Store
PRESTWOODSTORE

Prestwood eMagazine

July Edition
Subscribe now! It's Free!
Enter your email:

   ► KB ►► Website Scri...Perl   Print This    All Groups  

Perl New and Updated KB Posts

Page Contents


Recently Created

(Perl Group)

  KB Article    

Mike Prestwood
1. Perl Constants (use constant)

In PHP, you declare constants using the define keyword:

define("CONST_NAME", "Value");

Constants in PHP are case sensitive. A common standard in PHP is to use all-uppercase letters, with underscores to separate words within the name.

Posted to KB Topic: Perl
10 years ago

Code
Nothing New Since Your Last Visit
10438
Hits

Mike Prestwood
2. Perl Deployment Overview

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

Posted to KB Topic: Beginners Corner
11 years ago

Code
Nothing New Since Your Last Visit
8423
Hits

Mike Prestwood
3. 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

Posted to KB Topic: Beginners Corner
11 years ago

Code
Nothing New Since Your Last Visit
9154
Hits

Mike Prestwood
4. Perl Assignment (=)

Perl assignment operators:

= Assignment $x = 8;
+= Addition $x += 8;
-= Substraction $x -= 8;
*= Muliplication $x *= 8;
/= Division $x /= 8;
%= Modulus $x %= 8;
**= Exponent $x **= 8;

Posted to KB Topic: Perl
11 years ago

Code
Nothing New Since Your Last Visit
8404
Hits

Mike Prestwood
5. 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).

Posted to KB Topic: Beginners Corner
11 years ago

Code
Nothing New Since Your Last Visit
7729
Hits

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

Common comparison operators:

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

Posted to KB Topic: Beginners Corner
11 years ago
(3 Comments , last by EliteExpress )

Code
Nothing New Since Your Last Visit
12279
Hits

Mike Prestwood
7. 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.

Posted to KB Topic: Beginners Corner
12 years ago, and updated 11 years ago

Code
Nothing New Since Your Last Visit
11223
Hits

Mike Prestwood
8. Perl Custom Routines (sub)

Perl uses subs and parameters are referenced in a special array. All arguments passed to a subroutine are stored in a special @_ array. To retrieve the arguments, you have to look inside the array and extract them.

Posted to KB Topic: Perl
12 years ago, and updated 12 years ago

Code

KB Post
Nothing New Since Your Last Visit
11540
Hits

Mike Prestwood
9. 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).

Posted to KB Topic: Beginners Corner
12 years ago, and updated 12 years ago

Code
Nothing New Since Your Last Visit
8235
Hits

Mike Prestwood
10. Perl Development Tools

Many developers just use a text editor but you have to be careful when developing on Windows and deploying to Unix/Linix. Some Windows text editors including Notepad, and Microsoft Expression Web save text files in UTF-8 which is not compatible with Unix/Linux.

There are many Perl editors available including ActivePerl Pro Studio, and the free Perl Express. I usually use Perl Express.

Quick Start: Install Perl to IIS or Apache, install Perl Express then configure to use Perl, then install MySQL. For IIS 7, you will likely have to configure Hangler Mappings and add %s %s.

Posted to KB Topic: Perl
12 years ago, and updated 11 years ago

Code
Nothing New Since Your Last Visit
11199
Hits




Recently Updated

(Perl Group)

  KB Article    

Mike Prestwood
1. Perl Constants (use constant)

In PHP, you declare constants using the define keyword:

define("CONST_NAME", "Value");

Constants in PHP are case sensitive. A common standard in PHP is to use all-uppercase letters, with underscores to separate words within the name.

Posted to KB Topic: Perl
10 years ago

Code
Nothing New Since Your Last Visit
10438
Hits

Mike Prestwood
2. 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

Posted to KB Topic: Beginners Corner
12 years ago, and updated 10 years ago

Code

KB Post
Nothing New Since Your Last Visit
11640
Hits

Mike Prestwood
3. Perl Deployment Overview

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

Posted to KB Topic: Beginners Corner
11 years ago

Code
Nothing New Since Your Last Visit
8423
Hits

Mike Prestwood
4. 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.
Posted to KB Topic: Beginners Corner
12 years ago, and updated 11 years ago

Code
Nothing New Since Your Last Visit
14285
Hits

Mike Prestwood
5. 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

Posted to KB Topic: Beginners Corner
11 years ago

Code
Nothing New Since Your Last Visit
9154
Hits

Mike Prestwood
6. Perl Assignment (=)

Perl assignment operators:

= Assignment $x = 8;
+= Addition $x += 8;
-= Substraction $x -= 8;
*= Muliplication $x *= 8;
/= Division $x /= 8;
%= Modulus $x %= 8;
**= Exponent $x **= 8;

Posted to KB Topic: Perl
11 years ago

Code
Nothing New Since Your Last Visit
8404
Hits

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).

Posted to KB Topic: Beginners Corner
11 years ago

Code
Nothing New Since Your Last Visit
7729
Hits

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

Common comparison operators:

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

Posted to KB Topic: Beginners Corner
11 years ago
(3 Comments , last by EliteExpress )

Code
Nothing New Since Your Last Visit
12279
Hits

Mike Prestwood
9. Perl Operators

List of Perl operators.

Posted to KB Topic: Language Reference
17 years ago, and updated 11 years ago

KB Post
Nothing New Since Your Last Visit
10930
Hits

Mike Prestwood
10. 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 \"

Posted to KB Topic: Beginners Corner
12 years ago, and updated 11 years ago

Code

KB Post
Nothing New Since Your Last Visit
14107
Hits
Icon Legend:
Recent or not:
- Recent activity (within last two weeks).
- No activity last two weeks.
 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).

Follow PrestwoodBoards on: 


©1995-2020 PrestwoodBoards  [Security & Privacy]
Professional IT Services: Coding | Websites | Computer Tech