foreach (@widget) { do_something($_); }