in reply to Re^4: adding an IF to a push
in thread adding an IF to a push

Two reasons:

Fix:

while ($get_gal =~ m#(http://{...}.jpg)#g) { my $image = get($1); my ($height, $width) = imgsize(\$image); push @found_images, $1 if $height <= $max_height and $width <= $max_width; }

Bunch of alternative styles: