On Tue, Aug 08, 2000 at 03:46:45PM +0000, Ed Mills wrote:
> As long as were culling, might want to consider removing chomp() and
> possibly chop(). The language provides other ways to accomplish those thru a
> simple regex, and if the "println" suggestion I made was "too specific" then
> certainly chomp() is as well.
TMTOWTDI. chop() and chomp() should stay (IMHO).
Your "println" suggestion has merit though. There's already a way to
accomplish it via a command line switch (-l), but I guess what you're
after is a language level method to turn automatic addition of
newlines on and off. How about a new lexical pragma--newlines?
use newlines;
print "Hi"; # Automatically adds the newline
no newlines;
print "Hi"; # Does NOT automatically add the newline
-Scott
--
Jonathan Scott Duff
[EMAIL PROTECTED]