![]() |
Problem with 'chomp'
Very simple program:
while($_ != "q") puts "Running..." print "Enter q to quit: " gets chomp end However - getting the following in any progams in which I use 'chomp': 'undefined local variable or method 'chomp' for main: Object (NameError) |
All times are GMT -4. The time now is 07:25 AM. |
Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.