Logan,


On Thu, 2006-06-22 at 04:18 +0900, Logan Capaldo wrote:
> On Jun 20, 2006, at 2:53 PM, Philip Rhoades wrote:
> 
> >> $stdin.each_line do |line|
> >>         puts "BUBBA: "+line
> >> end
> 
> You know, if you use ARGF instead of $stdin your program will work for
> 
> ruby a.rb some_file
> 
> and cat some_file | ./a.rb


OK . . but how does that help when trying to use "ruby -r debug? - I
still get the previous problems . .

Thanks,

Phil.

--
Philip Rhoades

Pricom Pty Limited  (ACN 003 252 275  ABN 91 003 252 275)
GPO Box 3411
Sydney NSW      2001
Australia
Mobile:  +61:(0)411-185-652
Fax:     +61:(0)2-8221-9599
E-mail:  phil / pricom.com.au