Stefan Gremm wrote:
> Am Dienstag, den 25.03.2008, 02:11 +0900 schrieb Rodrigo Bermejo:
>> #endcode
>> 
>> 
>> cat /var/mailtext| ruby -n send-mail.rb
> 
> thanks for the answer, but when i start my script is coming the folowing
> error
> 
> undefined method `each' for nil:NilClass (NoMethodError)
> 
> and my command parser brings failure
> 
> ciao
> 
> Stefan

did you change ?:
> temp.each do |f|
with
> $_.each do |f|
-- 
Posted via http://www.ruby-forum.com/.