until /^#cardtype/; while () { ... } #### 1 until =~ /^#cardtype/; while () { ... }