Perl Miscellaneous Functions



There are a lot of Perl miscellaneous functions available in Perl which let you perform different operations on strings and scalars, arrays or hashes.


Click Below to See the Best

Perl How-to Snippet Collection

and Save Hours of Surfing on Internet!


We’ll describe below some of the most frequently built-in Perl miscellaneous functions. Follow the available links to get more info about these functions.

definedit tests whether a value, variable or function is defined; using it on an entire array reports if the array has ever been allocated
scalarenables you to evaluate an expression in a scalar context and returns the value of that expression
undefit removes a variable or function definition; if you use it for an entire array, this function will clear the array and free up the system memory allocated for it






Table of Contents:

A Perl Script
Install Perl
Running Perl
Perl Data Types
Perl Variables
Perl Operators
Perl Lists
Perl Arrays
    Array Size
    Array Length
Perl Hashes
Perl Statements
    Perl if
    Perl unless
    Perl switch
    Perl while
    Perl do-while
    Perl until
    Perl do-until
    Perl for
    Perl foreach
Built-in Perl Functions
    Functions by Category
        String Functions
        Regular Expressions and Pattern Matching
        List Functions
        Array Functions
        Hash Functions
        Miscellaneous Functions (more)
    Functions in alphabetical order
        chomp
        chop
        chr
        crypt
        defined
        delete
        each
        exists
        grep
        hex
        index
        join
        keys
        lc
        lcfirst
        length
        map
        oct
        ord
        pack
        pop
        push
        q
        qq
        qw
        reverse
        rindex
        scalar
        shift
        sort
        splice
        split
        sprintf
        substr
        tr
        uc
        ucfirst
        undef
        unpack
        unshift
        values

return from Perl Miscellaneous Functions to Perl Basics



Would you like to create your own website like this one?
Hit the Alarm Clock!

Site Build It!