From: Philip Rhoades Date: 2013-04-19T17:40:57+09:00 Subject: "gets" overwrites string - why does this happen? People, If I run this script with a text filename parameter: #!/usr/bin/ruby puts $* filename = $* puts filename gets puts $_ puts filename - the last puts is empty! Why does this happen? Thanks, Phil. -- Philip Rhoades GPO Box 3411 Sydney NSW 2001 Australia E-mail: phil@pricom.com.au