From: Colin Steele Date: 2001-04-01T11:44:07+09:00 Subject: [ruby-talk:13405] strange behavior under mod_ruby The following script: puts "MOD_RUBY

" if defined? MOD_RUBY before = String.methods.sort class String end after = String.methods.sort if before != after raise "String is now different..." end require "cgi" before = CGI.methods.sort class CGI end after = CGI.methods.sort if before != after puts "CGI is now different..." diff = before - after puts diff end Works fine (no output) if run from the command line. But, run in the mod_ruby context, I get: MOD_RUBY CGI is now different... escape escapeElement escapeHTML parse pretty rfc1123_date unescape unescapeElement unescapeHTML I'm very confused. How is it that I'm er... "losing" all these methods? -- Colin Steele colin@webg2.com / www.colinsteele.org / www.rubycookbook.org From "The Hacker's Dictionary": beam: [from Star Trek Classic's "Beam me up, Scotty!"] vt. To transfer {softcopy} of a file electronically; most often in combining forms such as `beam me a copy' or `beam that over to his site'. Compare {blast}, {snarf}, {BLT}.