Beginner
    Image

    PERL is a programming language (♦ see DEF) multiplatform, created in 1987.

    PERL essentially allows you to conceive processing programs.

    Code Examples

    → Let's start with very simple codes. The more you progress, page after page, the more sophisticated the scripts will be. However, you must go over 30 to 40 pages per level, before moving on to the next step...

    → In order to evaluate your codes, click on the icon on the left at the bottom of the page (gears), then choose a compiler from the list that will be open in another tab. Finally, test your work.

    NOW REPRODUCE AND IMMERSE YOURSELF!

    C 0001 - Hello World !

    Reproduce this code (please do not copy-paste!). Watch out for the indentation !
    use strict;
    =comment
    while(my $ex1 = ) {
        print $ex1;
    }
    =cut
    print 'Hello World !'
    

    C 0002 - Variables

    Reproduce this code (please do not copy-paste!). Watch out for the indentation !
    $a = 88;
    $b = 'Résultat:';
    print "$b", $a * $a;
    

    C 0003 - List

    Reproduce this code (please do not copy-paste!). Watch out for the indentation !
    %a = (
      Joseph  => ' Mariani',
      Julie => ' Hollande',
      Christian  => ' Turquoise'
    );
    print $a{Julie};
    print $a{Christian};
    

    C 0004 - Showing a variable

    Reproduce this code (please do not copy-paste!). Watch out for the indentation !
    @a = ('Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday');
    print $a[2];
    
    my @b = @a[2, 4]; # @b = ( 'Wednesday', 'Saturday' )
    my @c = @a[2..4]; # @c = ( 'Wednesday', 'Tuesday', 'Friday' )
    
    Icon

    CHOOSE YOUR COMPILER

    Reproduce this code, choosing one of the compilers below (♦ see DEF) (don't copy-paste! It would be too easy). They have the same function, just pick up one according to your preferences.

    When you copy your code, replace the existing code (by default) with your own.

    Warning ! For some of these compilers, you might have to choose the programming language yourself, in a specific menu which is offered to you. Of course, don't forget to click on RUN !

    PERL Technical Specifications

    Info+ (PERL)

    Creation
    » Creation date: 1987
    * Created by Larry Wall
    * Developed by The PERL Foundation
    * Influenced by Objective C, Basic and Eiffel
    * Cross-platform
    * GNU and Artistic Licenses

    Tools+ (PERL)

    Softwares & Frameworks

    Practical Cases

    In order to train you, we add small programs every week to this section to keep you up to speed.

    CASE 1

    BASIC LEVEL

    Prepare the working environment

    These recommendations will get you started with PERL as comfortably as possible.

    ⇒ TRY

    CASE 2

    ADVANCED LEVEL

    AJAX/JSON

    This little kit will help you understand how PERL works with AJAX/JSON.

    ⇒ TRY

    CASE 3

    EXPERT LEVEL

    PERL and Databases

    Learn how to make PERL work with MySQL...

    ⇒ TRY

    News

    2022 (C) Fond of Code tm (official trademark)Reflex002 / Diego Piccini (da Todi).
    All rights reserved. Protected editorial content (www.theethicalweb.com) / INPI France.
    Image

    About Us...

    About Us...
    Reflex002

    O-O
    Programming
    Development

    Main Topics

    Main Topics

    Legal/Support

    Legal/Support
    Image
    © Copyright 2022 Reflex002. Designed By Art and Earth Networks and Technology / Diego Piccini / Piccini da Todi G&D Studio