ArrTrim() - Trim Each Element of An Array

Code
sub ArrTrim {
    # Purpose
    #   Trims each element of an array.
    # Parameters
    #   Arr (Array) = Each element of this array is trimmed.
    # Return (Array)
    #   Returns the specified array (Arr) with leading and trailing whitespaced removed from each element.

    my @r;      # Return buffer

    foreach (@_) {
        push(@r, StrTrim($_));
    }

    return @r;

}


The Captian
Today they call you "crazy". Tomorrow they call you "ahead of your time."
Global Skywatch Learn about Chemtrails - You're breathing them now!
OnlyTheBestHerbs.com World-class supplements
Mercury Talk Why you are sick.
OneUp Domains Domains, Hosting, Email
1-800-358-4278 (U.S. & Canada)