my @a1 = 1 .. 10; my @a2 = 1 ... 10; print "@a1\na2\n"; #### while () { if (/BEGIN/ .. /END/) { # do stuff } }