/[cvs]/nfo/perl/libs/Data/Mungle/Transform/Deep.pm
ViewVC logotype

Diff of /nfo/perl/libs/Data/Mungle/Transform/Deep.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.12 by joko, Thu Feb 20 22:45:19 2003 UTC revision 1.13 by joko, Fri Feb 21 01:48:50 2003 UTC
# Line 2  Line 2 
2  ##  $Id$  ##  $Id$
3  ## ---------------------------------------------------------------------------  ## ---------------------------------------------------------------------------
4  ##  $Log$  ##  $Log$
5    ##  Revision 1.13  2003/02/21 01:48:50  joko
6    ##  renamed core function
7    ##
8  ##  Revision 1.12  2003/02/20 22:45:19  joko  ##  Revision 1.12  2003/02/20 22:45:19  joko
9  ##  fix regarding new deep_copy  ##  fix regarding new deep_copy
10  ##  ##
# Line 136  sub _var_deref_test { Line 139  sub _var_deref_test {
139  }  }
140    
141    
142    # convert values in hash to utf8 (and back) to be ready for (e.g.) encapsulation in XML
143    # but still using the known latin locale stuff
144  sub expand {  sub expand {
145    
146    my $obj = shift;    my $obj = shift;
# Line 205  sub expand { Line 210  sub expand {
210    
211    # convert all values to utf8 (inside complex struct)    # convert all values to utf8 (inside complex struct)
212      # now done in core-item-callbacks via Greg London's "Iterate" from CPAN      # now done in core-item-callbacks via Greg London's "Iterate" from CPAN
213      # var2utf8($result) if ($options->{utf8});      # latin_to_utf8($result) if ($options->{utf8});
214    
215    # destroy persistent object from memory to be sure to get a fresh one next time    # destroy persistent object from memory to be sure to get a fresh one next time
216    #undef $obj if $options->{destroy};    #undef $obj if $options->{destroy};

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed