s/^\s+//, s/\s+$// for @array; [download]
In reply to Re^2: push foreach glob - bug? by ikegami in thread push foreach glob - bug? by sfink