I'm not clear whether I should try dumping after I get $gap (now $mins in the code I've added) from the module or before that. But you are right. Just using quotations is enough to make it change behavior. With that known, can you tell me just what is happening and if that's a reliable hack?