perl-unicode

Re: C<use utf8> dynamic scope?

1999-05-10 07:52:36
"DH" == Dick Hardt <DickH(_at_)ActiveState(_dot_)com> writes:

DH> 3. C<use utf8> is dynamically scoped rather than lexically scoped
DH>     a) char_encoding is a local var
DH>     b) called routines inherit the encoding of the caller
DH>     c) user added functions work the same as built-ins like strlen()
        
DH> 1. Existing scripts will not break. Unless the C<use utf8> is added to a
DH> script, nothing new happens.

Err, How do you make it dynamic without breaking existing scripts/modules?

<chaim>
-- 
Chaim Frenkel                                        Nonlinear Knowledge, Inc.
chaimf(_at_)pobox(_dot_)com                                            
+1-718-236-0183

<Prev in Thread] Current Thread [Next in Thread>