Perl Tutorial : Perl data types
Perl Tutorial : Perl Operators
Perl Tutorial : Perl loops
Perl Tutorial : Perl Conditionals
Perl Tutorial : Perl Subroutines
Perl Tutorial : Perl regex
Perl Tutorial : Perl Files
Perl Tutorial : Perl & Databases
Perl Tutorial : Perl OOPs
Perl Tutorial : Perl signals
Perl Tutorial : Perl threads
Perl Tutorial : Perl Debugging

Introcution to Perl CGI

Introduction to modperl
Home >> perldatatypes >>

Perl predefined variables

First of all some vairables might still be missing. Most important vatialbes are covered here...
%ENV The hash %ENV contains your current environmental values. Setting a value in ENV (like $ENV{home}='/usr/bin/perl';) changes the environment for any child processes you subsequently fork() off.
%INCThe hash %INC contains entries for each filename included via the do, require, or use operators. just print %inc in your perl program and you will find it!
@INCThe array @INC contains the list of places that the do EXPR , require, or use constructs look for their library files. It initially consists of the arguments to any -I command-line switches, followed by the default Perl library.
@ARGVThis variable is an array of the arguments passed to the script.
%SIG This variable is an associative array that links the standard signals to values. These values dictate the way that the script processes those signals. You can assign signal-handling subroutines to certain signals or set the script to ignore certain signals.
$a $b
$?If a Perl script spawns child processes, you can examine their error codes by using this variable.
$@The Perl syntax error message from the last eval() operator.
$$The process id (number) of the Perl running this script.

Perl functions

scalars and strings

lc
ord

regex (regular expressions)

arrays

shift
split

More..

eval
Share |

Perl @ARGV %ENV
Perl Arrays
Perl Data Types
Perl Hash
Perl list
Perl references
Perl Scalar data types

Perl examples

  • How to use Data::Dumper?
  • How to parse config file?
  • Include external module in perl..
  • Download perl

    download stable version of perl
    Perl 5.10.1
    Perl interview Questions
    sed tutorial
    awk tutorial

    Join us on Google Groups

    Subscribe to perl
    Email:
    Visit this group
    Perl Jobs


    privacy | sitemap | disclaim | contact us
    © 2009 perlhome.com