[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mason-cvs
Subject:    [Mason-checkins] CVS: mason/dist/lib/HTML/Mason Interp.pm,1.259,1.260
From:       Dave Rolsky <autarch () users ! sourceforge ! net>
Date:       2002-09-27 17:16:50
[Download RAW message or body]

Update of /cvsroot/mason/mason/dist/lib/HTML/Mason
In directory usw-pr-cvs1:/tmp/cvs-serv23880

Modified Files:
	Interp.pm 
Log Message:
escapes => escape_flags


Index: Interp.pm
===================================================================
RCS file: /cvsroot/mason/mason/dist/lib/HTML/Mason/Interp.pm,v
retrieving revision 1.259
retrieving revision 1.260
diff -u -r1.259 -r1.260
--- Interp.pm	27 Sep 2002 02:14:25 -0000	1.259
+++ Interp.pm	27 Sep 2002 17:16:48 -0000	1.260
@@ -38,7 +38,7 @@
 					   type => SCALAR, descr => "Current time (deprecated)" },
 	 data_dir                     => { parse => 'string', optional => 1, type => \
                SCALAR,
 					   descr => "A directory for storing cache files and other state information" \
                },
-         escapes                      => { parse => 'list', optional => 1, type => \
HASHREF, +         escape_flags                 => { parse => 'list', optional => 1, \
                type => HASHREF,
                                            descr => "A list of escape flags to set \
(as if calling the set_escape() method" },  static_source                => { parse \
=> 'boolean', default => 0, type => BOOLEAN,  descr => "When true, we only compile \
source files once" }, @@ -161,7 +161,7 @@
         $self->set_escape(@$_);
     }
 
-    if ( my $e = delete $self->{escapes} )
+    if ( my $e = delete $self->{escape_flags} )
     {
         while ( my ($flag, $code) = each %$e )
         {
@@ -832,7 +832,7 @@
 cache class|HTML::Mason::Request/item_cache> will be C<MemoryCache>
 instead of C<FileCache>.
 
-=item escapes
+=item escape_flags
 
 A hash reference of escape flags to set for this object.  See the
 section on the L<C<set_escape()> method|Interpreter/item_set_scape>



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Mason-checkins mailing list
Mason-checkins@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-checkins


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic