ପର୍ଲ୍ (ପ୍ରୋଗ୍ରାମିଂ ଭାଷା)
ଦେଖଣା
(Perl (programming language)ରୁ ଲେଉଟି ଆସିଛି)
ପାରାଡ଼ିଜିମ୍ | multi-paradigm: functional, imperative, object-oriented (class-based), reflective, procedural, data-driven, generic |
---|---|
ପ୍ରଥମେ ଦେଖାଯାଇଥିଲା | 1987 |
ଡିଜାଇନ କରିଥିଲେ | Larry Wall |
ବିକାଶକ | Larry Wall |
ସ୍ଥାୟୀ ରିଲିଜ | 5.24.0[୧] (ମଇ 9, 2016 ) |
ପୂର୍ବାଲୋକନ ରିଲିଜ | 5.19.5[୨] (ଅକ୍ଟୋବର 20, 2013 ) |
ଟାଇପିଂ ପଦ୍ଧତି | Dynamic |
ଏହାକୁ ପ୍ରଭାବିତ କରିଛନ୍ତି | AWK, Smalltalk 80, Lisp, C, C++, sed, Unix shell, Pascal |
ଏହା ଦ୍ଵାରା ପ୍ରଭାବିତ ହୋଇଛନ୍ତି | Python, PHP, Ruby, ECMAScript, LPC, Windows PowerShell, JavaScript, Falcon, Perl 6, Qore |
Implementation language | C |
ଅପେରେଟିଂ ସିଷ୍ଟମ | Cross-platform |
ସତ୍ତ୍ଵ | GNU General Public License or Artistic License[୩] |
ଫାଇଲ ଏକ୍ସଟେନ୍ସନ୍ | .pl .pm .t .pod[ଆଧାର ଲୋଡ଼ା] |
ୱେବସାଇଟ | www |
|
ପର୍ଲ୍ ଏକ ଉଚ୍ଚ-ସ୍ତରୀୟ କମ୍ପ୍ୟୁଟର ପ୍ରୋଗ୍ରାମିଂ ଭାଷା ଅଟେ । ୧୯୮୭ରେ ଲାରୀ ୱାଲ୍ ଏହାକୁ ତିଆରି କରିଥିଲେ ।
ପ୍ରାରମ୍ଭିକ ସ୍ତର
[ସମ୍ପାଦନା]ପର୍ଲ ୫
[ସମ୍ପାଦନା]ପର୍ଲ ୬
[ସମ୍ପାଦନା]କିଛି ଉଦାହରଣ
[ସମ୍ପାଦନା]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 Archived 2011-12-22 at the Wayback Machine. 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, ISBN 0-596-00313-7. Practical Perl programming examples.
- Dominus, Mark Jason (2005). Higher Order Perl. Morgan Kaufmann. ISBN 1-55860-701-3. Functional programming techniques in Perl.
ଆଧାର
[ସମ୍ପାଦନା]- ↑ "Perl 5.24.0 is now available". perl.org. Retrieved 2016-05-25.
- ↑ "Perl 5.19.5 is now available!". perl.org. 2013-10-20. Retrieved 2013-10-20.
- ↑ "Perl Licensing". dev.perl.org. Retrieved 2011-01-08.
ବାହାଡ଼ ଲିଙ୍କ
[ସମ୍ପାଦନା]ପର୍ଲ୍ (ପ୍ରୋଗ୍ରାମିଂ ଭାଷା) ବାବଦରେ ଉଇକିମିଡ଼ିଆର ସହଯୋଗୀ ପ୍ରକଳ୍ପଗୁଡ଼ିକରୁ ଅଧିକ ଜାଣନ୍ତୁ: | |
ଉଇକିଅଭିଧାନରେ ଶବ୍ଦାର୍ଥମାନ ଖୋଜନ୍ତୁ | |
କମନ୍ସରେ ଛବି ଓ ମିଡ଼ିଆସବୁ ଖୋଜନ୍ତୁ | |
ଉଇକିମହାବିହାରରେ ଶିକ୍ଷଣ ଆଧାରମାନ ଖୋଜନ୍ତୁ | |
ଉଇକିକଥାରୁ ଢଗଢମାଳି ଓ କଥାମାନ | |
ଉଇକିପୋଥିରେ ପଢ଼ାବହିମାନ |
- Official website 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