[Omaha.pm] for (@row)

Jay Hannah jay at jays.net
Wed Aug 20 13:54:55 PDT 2008


On Aug 20, 2008, at 11:35 AM, Dan Linder wrote:
> AFTER:
> # In-place updates to each line of @row.
> for (@row) {
>   s/[^ -~]//g;
>   s/\s+$//;
>   tr/a-z/A-Z/;
> }

How about this:

    # mwooo-hahahha Dan. I'm doing it again!! -laugh-
    for(@row){s/[^ -~]//g;s/\s+$//;tr/a-z/A-Z/}

Or

    common_in_place_updates(\@row);

:)

j



More information about the Omaha-pm mailing list