Search results
Results from the WOW.Com Content Network
Slow – being an interpreted language, perl code generally runs slower than compiled code. It would not be well suited for writing state-of-the-art video games, for example. Software maintenance – source code may be cryptic (much like C), making it difficult to maintain code or fix bugs in code written by somebody else, unless adequate ...
There are many ways to write object-oriented code in Perl. The most basic is using "blessed" references. This works by identifying a reference of any type as belonging to a given package, and the package provides the methods for the blessed reference. For example, a two-dimensional point could be defined this way:
Pages in category "Articles with example Perl code" The following 33 pages are in this category, out of 33 total. This list may not reflect recent changes. A.
What follows are examples of "Hello, World" implemented in different styles of modules. It must be understood that a module is not necessary in Perl; functions and code can be defined and used anywhere. This is just for example purposes. Contrast with Java where a class is always necessary. A real "Hello, World" function would be written like so:
Category:Articles with example Perl code This page is a soft redirect. This is a list of articles which contain programming examples with source code written in the programming language Perl: Action at a distance (computer science) Hello world program; Just another Perl hacker; Perl; Schwartzian transform
Easy to incorporate sample code; Easy to read without a pod formatter (i.e. in its source-code form) Easy to write in; An extended version of pod that supports tables and footnotes called PseudoPOD has been used by O'Reilly & Associates to produce several Perl books, most notably Programming Perl by Larry Wall, Tom Christiansen, and Jon Orwant.
Published by O'Reilly Media, the book is considered the canonical reference work for Perl programmers. With over 1,000 pages, the various editions contain complete descriptions of each Perl language version and its interpreter. Examples range from trivial code snippets to the highly complex expressions for which Perl is widely known. The camel ...
Perl poetry is the practice of writing poems that can be compiled as legal Perl code, for example the piece known as "Black Perl". Perl poetry is made possible by the large number of English words that are used in the Perl language. New poems are regularly submitted to the community at PerlMonks. [150]