On Wed, Dec 04, 2002 at 01:49:41AM +0900, Mills Thomas (app1tam) wrote:
> Can I assume that the following inconsistency (See the diff between cmd 1
> and cmd 2) has something to do with the eval-print loop in IRB and not
> something internal to Ruby (after all, cmd 3 works)?
> 
> -----------------------------------------------------------------
> irb(main):021:0> print "some string with blanks".intern
> some string with blanksnil
> 
> irb(main):022:0> p ("some string with blanks".intern)
> :some string with blanks
> nil

p != print

irb(main):001:0> print "bla bla".intern
bla blanil
irb(main):002:0> print ("bla bla".intern)
bla blanil
irb(main):003:0> p "bla bla".intern
:bla bla
nil
irb(main):004:0> p("bla bla".intern)
:bla bla
nil
 
> irb(main):023:0> print "some string with blanks".intern == ("some string
> with blanks".intern) ? "Equal" : "Not Equal"
> Equalnil
> ------------------------------------------------------------------
> 
> 
> +------------------------------------------------+
> | DREW MILLS            | 10101 Linn Station Rd. |
> |                       | Suite 800              |
> | tamills / ups.com       | Louisville, KY  40223  |
> | Technical Specialist  | <v> 502-394-7785       |
> | United Parcel Service | <f> 502-394-7812       |
> +------------------------------------------------+

-- 
 _           _                             
| |__   __ _| |_ ___ _ __ ___   __ _ _ __  
| '_ \ / _` | __/ __| '_ ` _ \ / _` | '_ \ 
| |_) | (_| | |_\__ \ | | | | | (_| | | | |
|_.__/ \__,_|\__|___/_| |_| |_|\__,_|_| |_|
	Running Debian GNU/Linux Sid (unstable)
batsman dot geo at yahoo dot com

ECRC hat keine lynx komp. seiten, sowas MUSS ja pleite gehen ;-)=
	-- Getty on #LinuxGER