ପର୍ଲ୍ (ପ୍ରୋଗ୍ରାମିଂ ଭାଷା)
ପର୍ଲ୍ ଏକ ଉଚ୍ଚ-ସ୍ତରୀୟ କମ୍ପ୍ୟୁଟର ପ୍ରୋଗ୍ରାମିଂ ଭାଷା ଅଟେ । ୧୯୮୭ରେ ଲାରୀ ୱାଲ୍ ଏହାକୁ ତିଆରି କରିଥିଲେ ।

ପ୍ରାରମ୍ଭିକ ସ୍ତର

ପର୍ଲ ୫

ପର୍ଲ ୬

କିଛି ଉଦାହରଣ
In older versions of Perl, one would write the Hello World program as:

    print "Hello World!\n";

In later versions, which support the say statement, one can also write it as:

    use 5.010;
    say "Hello World!";

Good Perl practices require more complex programs to add the use strict; and use warnings; pragmas, leading into something like:

    use strict;
    use warnings;

    print "Hello World!\n";

Here is a more complex Perl program, that counts down the seconds up to a given threshold:

 #!/usr/bin/perl
 use strict;
 use warnings;
 use IO::Handle;

 my ( $remaining, $total );

 $remaining = $total = shift(@ARGV);

 STDOUT->autoflush(1);

 while ( $remaining ) {
  printf ( "Remaining %s/%s \r", $remaining--, $total );
  sleep 1;
 }

 print "\n";

The perl interpreter can also be used for one-off scripts on the command line. The following example as invoked from an sh-compatible shell such as Bash translates the string "Bob" in all files ending with .txt in the current directory to "Robert":

     $ perl -i.bak -lp -e 's/Bob/Robert/g' *.txt

ସମାଲୋଚନା

ଅଧିକ ପଢନ୍ତୁ
 Learning Perl 6th Edition (2011), O'Reilly. Beginner-level introduction to Perl.
 Beginning Perl 1st Edition (2012), Wrox. A beginner's tutorial for those new to programming or just new to Perl.
 Modern Perl  2nd Edition (2012), Onyx Neon. Describes Modern Perl programming techniques.
 Programming Perl 4th Edition (2012), O'Reilly. The definitive Perl reference.
 Effective Perl Programming 2nd Edition (2010), Addison-Wesley. Intermediate- to advanced-level guide to writing idiomatic Perl.
 Perl Cookbook, . Practical Perl programming examples.
  Functional programming techniques in Perl.

ଆଧାର

ବାହାଡ଼ ଲିଙ୍କ

  Perl.org
 Comprehensive Perl Archive Network The canonical location for Perl code and modules
 The Perl Foundation
 PerlMonks A community committed to sharing Perl knowledge and coding tips

ପ୍ରୋଗ୍ରାମିଂ ଭାଷା