if (defined (@array[9..13]) and @array[9..13] ne "") { &my_sub (); }