From: Austin Ziegler Date: 2006-01-21T05:58:48+09:00 Subject: Re: strict pragma & scope On 20/01/06, James Edward Gray II wrote: > > Under strict every variable must be identified, if not vartyped. > > my $foo; > > > > This prevents me from doing something like: > > > > my $super_ids; > > ... > > print $super_id,"\n"; > > (note the typo) > > Ruby requires we declare a local variable before we use it, so you > are all set. ;) s/declare/set/ There are no variable declarations in Ruby. The more likely problem that Tom is to find is with instance variables. It would be nice to have some way of detecting missing assignments to instance variables, but only have it show up when requested. -austin -- Austin Ziegler * halostatue@gmail.com * Alternate: austin@halostatue.ca