Help for this page

Select Code to Download


  1. or download this
    while (my $row = $sth->fetchrow_hashref()) {
        for my $imgfile (map $row->{"image_$_"}, 1..4) {
            unlink "../../pics/$imgfile";
        }
    }
    
  2. or download this
        unlink map "../../pics/".$row->{"image_$_"}, 1..4;