Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    The datum is [% d %] and the computed
    result is '[% object.compute( d ) %]'
    [% END %]
    
  2. or download this
    package Foo;
    # save as Foo.pm
    ...
    }
    
    1;
    
  3. or download this
    $ perl test_tt_method.pl
    
    ...
    
    The datum is 3 and the computed
    result is 'compute() called with: 3'