Search results for "distribution:perl vars"
vars - Perl pragma to predeclare global variable names
NOTE: For use with variables in the current package for a single scope, the functionality provided by this pragma has been superseded by "our" declarations, available in Perl v5.6.0 or later, and use of this pragma is discouraged. See "our" in perlfu...
PEVANS/perl-5.38.2 - 29 Nov 2023 16:10:36 UTC
vars - Perl pragma to predeclare global variable names
NOTE: For use with variables in the current package for a single scope, the functionality provided by this pragma has been superseded by "our" declarations, available in Perl v5.6.0 or later, and use of this pragma is discouraged. See "our" in perlfu...
RJBS/perl-5.36.0 - 28 May 2022 00:26:10 UTC
subs - Perl pragma to predeclare subroutine names
This will predeclare all the subroutines whose names are in the list, allowing you to use them without parentheses (as list operators) even before they're declared. Unlike pragmas that affect the $^H hints variable, the "use vars" and "use subs" decl...
PEVANS/perl-5.38.2 - 29 Nov 2023 16:10:36 UTC
subs - Perl pragma to predeclare subroutine names
This will predeclare all the subroutines whose names are in the list, allowing you to use them without parentheses (as list operators) even before they're declared. Unlike pragmas that affect the $^H hints variable, the "use vars" and "use subs" decl...
RJBS/perl-5.36.0 - 28 May 2022 00:26:10 UTC
h2xs - convert .h C header files to Perl extensions
*h2xs* builds a Perl extension from C header files. The extension will include functions which can be used to retrieve the value of any #define statement which was in the C header files. The *module_name* will be used for the name of the extension. I...
RJBS/perl-5.36.0 - 28 May 2022 00:26:10 UTC
h2xs - convert .h C header files to Perl extensions
*h2xs* builds a Perl extension from C header files. The extension will include functions which can be used to retrieve the value of any #define statement which was in the C header files. The *module_name* will be used for the name of the extension. I...
PEVANS/perl-5.38.2 - 29 Nov 2023 16:10:36 UTC
strict - Perl pragma to restrict unsafe constructs
The "strict" pragma disables certain Perl expressions that could behave unexpectedly or are difficult to debug, turning them into errors. The effect of this pragma is limited to the current file or scope block. If no import list is supplied, all poss...
PEVANS/perl-5.38.2 - 29 Nov 2023 16:10:36 UTC
strict - Perl pragma to restrict unsafe constructs
The "strict" pragma disables certain Perl expressions that could behave unexpectedly or are difficult to debug, turning them into errors. The effect of this pragma is limited to the current file or scope block. If no import list is supplied, all poss...
RJBS/perl-5.36.0 - 28 May 2022 00:26:10 UTC
perlobj - Perl object reference
This document provides a reference for Perl's object orientation features. If you're looking for an introduction to object-oriented programming in Perl, please see perlootut. In order to understand Perl objects, you first need to understand reference...
PEVANS/perl-5.38.2 - 29 Nov 2023 16:10:36 UTC
perlobj - Perl object reference
This document provides a reference for Perl's object orientation features. If you're looking for an introduction to object-oriented programming in Perl, please see perlootut. In order to understand Perl objects, you first need to understand reference...
RJBS/perl-5.36.0 - 28 May 2022 00:26:10 UTC
perlrun - how to execute the Perl interpreter
The normal way to run a Perl program is by making it directly executable, or else by passing the name of the source file as an argument on the command line. (An interactive Perl environment is also possible--see perldebug for details on how to do tha...
RJBS/perl-5.36.0 - 28 May 2022 00:26:10 UTC
perlrun - how to execute the Perl interpreter
The normal way to run a Perl program is by making it directly executable, or else by passing the name of the source file as an argument on the command line. (An interactive Perl environment is also possible--see perldebug for details on how to do tha...
PEVANS/perl-5.38.2 - 29 Nov 2023 16:10:36 UTC
perlmod - Perl modules (packages and symbol tables)
Is this the document you were after? There are other documents which might contain the information that you're looking for: This doc Perl's packages, namespaces, and some info on classes. perlnewmod Tutorial on making a new module. perlmodstyle Best ...
PEVANS/perl-5.38.2 - 29 Nov 2023 16:10:36 UTC
perlsub - Perl subroutines
Like many languages, Perl provides for user-defined subroutines. These may be located anywhere in the main program, loaded in from other files via the "do", "require", or "use" keywords, or generated on the fly using "eval" or anonymous subroutines. ...
PEVANS/perl-5.38.2 - 29 Nov 2023 16:10:36 UTC
perlmod - Perl modules (packages and symbol tables)
Is this the document you were after? There are other documents which might contain the information that you're looking for: This doc Perl's packages, namespaces, and some info on classes. perlnewmod Tutorial on making a new module. perlmodstyle Best ...
RJBS/perl-5.36.0 - 28 May 2022 00:26:10 UTC
perlsub - Perl subroutines
Like many languages, Perl provides for user-defined subroutines. These may be located anywhere in the main program, loaded in from other files via the "do", "require", or "use" keywords, or generated on the fly using "eval" or anonymous subroutines. ...
RJBS/perl-5.36.0 - 28 May 2022 00:26:10 UTC
perlvar - Perl predefined variables
The Syntax of Variable Names Variable names in Perl can have several formats. Usually, they must begin with a letter or underscore, in which case they can be arbitrarily long (up to an internal limit of 251 characters) and may contain letters, digits...
PEVANS/perl-5.38.2 - 29 Nov 2023 16:10:36 UTC
perlvar - Perl predefined variables
The Syntax of Variable Names Variable names in Perl can have several formats. Usually, they must begin with a letter or underscore, in which case they can be arbitrarily long (up to an internal limit of 251 characters) and may contain letters, digits...
RJBS/perl-5.36.0 - 28 May 2022 00:26:10 UTC
perldsc - Perl Data Structures Cookbook
Perl lets us have complex data structures. You can write something like this and all of a sudden, you'd have an array with three dimensions! for my $x (1 .. 10) { for my $y (1 .. 10) { for my $z (1 .. 10) { $AoA[$x][$y][$z] = $x ** $y + $z; } } } Ala...
PEVANS/perl-5.38.2 - 29 Nov 2023 16:10:36 UTC
perldsc - Perl Data Structures Cookbook
Perl lets us have complex data structures. You can write something like this and all of a sudden, you'd have an array with three dimensions! for my $x (1 .. 10) { for my $y (1 .. 10) { for my $z (1 .. 10) { $AoA[$x][$y][$z] = $x ** $y + $z; } } } Ala...
RJBS/perl-5.36.0 - 28 May 2022 00:26:10 UTC