Wayne Scott <wscott / ichips.intel.com> writes:

> Does this work?
> 
>      #!/usr/bin/ruby -w
> 
>      $/.freeze	  # prevent changing from defaults

That freezes the object referenced by the $/ variable. Variables
themselves cannot be frozen.

Dave