home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2004 December / PCpro_2004_12.ISO / files / webserver / tsw / TSW_3.4.0.exe / Apache2 / perl / tpage.pod < prev    next >
Encoding:
Text File  |  2004-01-30  |  2.0 KB  |  77 lines

  1.  
  2. #------------------------------------------------------------------------
  3. # IMPORTANT NOTE
  4. #   This documentation is generated automatically from source
  5. #   templates.  Any changes you make here may be lost.
  6. #   The 'docsrc' documentation source bundle is available for download
  7. #   from http://www.template-toolkit.org/docs.html and contains all
  8. #   the source templates, XML files, scripts, etc., from which the
  9. #   documentation for the Template Toolkit is built.
  10. #------------------------------------------------------------------------
  11.  
  12. =head1 NAME
  13.  
  14. Template::Tools::tpage - Process templates from command line
  15.  
  16. =head1 USAGE
  17.  
  18.     tpage [ --define var=value ] file(s)
  19.  
  20. =head1 DESCRIPTION
  21.  
  22. The B<tpage> script is a simple wrapper around the Template Toolkit processor.
  23. Files specified by name on the command line are processed in turn by the 
  24. template processor and the resulting output is sent to STDOUT and can be 
  25. redirected accordingly.  e.g.
  26.  
  27.     tpage myfile > myfile.out
  28.     tpage header myfile footer > myfile.html
  29.  
  30. If no file names are specified on the command line then B<tpage> will read
  31. STDIN for input.
  32.  
  33. The C<--define> option can be used to set the values of template variables.
  34. e.g.
  35.  
  36.     tpage --define author="Andy Wardley" skeleton.pm > MyModule.pm
  37.  
  38. See L<Template> for general information about the Perl Template 
  39. Toolkit and the template language and features.
  40.  
  41. =head1 AUTHOR
  42.  
  43. Andy Wardley E<lt>abw@andywardley.comE<gt>
  44.  
  45. L<http://www.andywardley.com/|http://www.andywardley.com/>
  46.  
  47.  
  48.  
  49.  
  50. =head1 VERSION
  51.  
  52. 2.69, distributed as part of the
  53. Template Toolkit version 2.13, released on 30 January 2004.
  54.  
  55. =head1 COPYRIGHT
  56.  
  57.   Copyright (C) 1996-2004 Andy Wardley.  All Rights Reserved.
  58.   Copyright (C) 1998-2002 Canon Research Centre Europe Ltd.
  59.  
  60. This module is free software; you can redistribute it and/or
  61. modify it under the same terms as Perl itself.
  62.  
  63. =head1 SEE ALSO
  64.  
  65. L<ttree|Template::Tools::ttree>
  66.  
  67. =cut
  68.  
  69. # Local Variables:
  70. # mode: perl
  71. # perl-indent-level: 4
  72. # indent-tabs-mode: nil
  73. # End:
  74. #
  75. # vim: expandtab shiftwidth=4:
  76.