Changes

Jump to navigation Jump to search
7 bytes removed ,  17:54, 20 December 2013
Line 220: Line 220:  
               new Text::Template ( TYPE => ’FILE’, SOURCE => $filename );
 
               new Text::Template ( TYPE => ’FILE’, SOURCE => $filename );
   −
This reads the template from the specified file.  The filename is opened with the Perl "open" command, so it can be a pipe or anything else that makes sense with "open". The "TYPE" can also be "STRING", in which case the "SOURCE" should be a
+
This reads the template from the specified file.  The filename is opened with the Perl "open" command, so it can be a pipe or anything else that makes sense with "open". The "TYPE" can also be "STRING", in which case the "SOURCE" should be a string:
      string:
      
               new Text::Template ( TYPE => ’STRING’,
 
               new Text::Template ( TYPE => ’STRING’,

Navigation menu