State Variables in Perl 5.10

Foy, Brian D.
December 2007
Perl Review;Winter2007, Vol. 4 Issue 1, p20
Academic Journal
The article describes the state variables included in the Release Candidate 2 (RC2) of Perl 5.10 on Comprehensive PERL Archive Network (CPAN). The use of state variables in C as static variables is detailed, as well as their output. The BEGIN function is used to ensure that lexical variable is defined at compile-time.


Related Articles

  • Parrot Status Report. Duff, Scott // Perl Review;Winter2007, Vol. 4 Issue 1, p7 

    The article discusses the development of the Parrot virtual machine designed for running dynamic languages including Perl, Python and Ruby. It features various software development functions such as just-in-time compilers, lexical variables and basic input-output. Subroutines and other flow...

  • A Switch for Perl 5.10. Foy, Brian D. // Perl Review;Winter2007, Vol. 4 Issue 1, p31 

    The article describes a computer program for a switch statement in Perl language. The given-switch statement uses smart matching, which Perl 5.10.0 developers can enable with a program featuring a do block. In the program using do blocks, a singular branch in the program statement is used....

  • PARSING LOG FILES WITH PERL. Dowling, Thomas // Library Technology Reports;Jan/Feb2003, Vol. 39 Issue 1, p63 

    Focuses on the use of computer language PERL for parsing log files, which are lists of predictably formatted lines of text. Example to show the use of PERL.

  • Mapping Op Trees. Maki, Eric // Perl Review;Winter2007, Vol. 4 Issue 1, p10 

    The article considers the Perl computer program language from the perspective of the public introspection interface provided by core Perl modules. Bytecodes, consisting of trees of operations against the Perl stack, are used to compile Perl programs and create many virtual machines. These...

  • NEW MODULES.  // Perl Review;Winter2007, Vol. 4 Issue 1, p21 

    The article features several modules from developers designed for Perl computer program language. Michael Schilli turned two tar archives into one by using Archive::Tar::Merge. Marcel Grünauer used Carp::Source in showing the code around the line number and file name in Carp modules. Michael...

  • Perl is Dead, Long Live Perl! Bäcker, Renée // Perl Review;Spring2007, Vol. 3 Issue 2, p7 

    The article reviews the Perl version 5.10.

  • New Modules.  // Perl Review;Spring2006, Vol. 2 Issue 2, p17 

    A list of new modules available at the Comprehensive PERL Archive Network (CPAN) is presented, which include a sudoku puzzle solver, an arithmetic for numbers with associated uncertainties, and an object-oriented Practical Extraction and Report Language (PERL) interface.

  • Named Captures in 5.9.5. Foy, Brian D. // Perl Review;Fall2007, Vol. 4 Issue 0, p30 

    The article evaluates the Perl 5.9.5 programming language.

  • Perl 6 News. Duff, Jonathan Scott // Perl Review;Summer2008, Vol. 4 Issue 3, p7 

    This section offers news briefs related to Practical Extraction and Report Language (Perl) programming language. The Parrot Compiler Toolkit development allows for faster development of Rakudo and other languages targeting Parrot. A Perl 6 microgrant for travel and lodging for both the French...


Read the Article


Sorry, but this item is not currently available from your library.

Try another library?
Sign out of this library

Other Topics