On Mar 8, 2006, at 4:18 PM, rtilley wrote:

> When writing methods as functions (I know they're methods  
> pretending to be functions) do you still need to use globals...  
> like this:
>
> $global_var
> def some_other_function
>    ...
>    $global_var
> end
>
> Or, is it OK to use them like this:
>

No

> global_var
> def some_other_function
>    ...
>    global_var
> end
>

global_var isn't global here.