-----Original Message-----
From: "Jens Luedicke"<jens / irs-net.com>
To: "ruby-talk ML"<ruby-talk / netlab.co.jp>
Date: Fri Feb 02 17:08:16 PST 2001
Subject: [ruby-talk:10295] read from standard input ....

>Hi there ...
>
>I never managed it to read something from standard
>input ...
>
>bla = $stdin
>print bla, "\n"
>
>doesn't work.... Is there something like
>a <STDIN> ?
>

STDIN.gets or even STDIN.gets.chomp (or $stdin, or whatever) should do it for ya



>with friendly regards....
> 	jens luedicke <jens / irs-net.com>
> 
> PMC - Perl Mail Client
> 	http://www.irs-net.com/
> 
> Bush jr: FOAD ... perversion of justice ...
> --
> If's Beste Freundin: Else

Mike Wilson
Unix Administrator
http://ruby.weblogs.com
___________________________________________________
GO.com Mail                                    
Get Your Free, Private E-mail at http://mail.go.com