[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Omaha.pm] for (@row)



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