Behavior perforated beams under compression