Help for this page

Select Code to Download


  1. or download this
    <template>
      foo                = Yes
    ...
      blort              = 
      home_url           = http://www.foo.com/some/really/long/url 
    </template>
    
  2. or download this
    <template>
      foo                = Yes
    ...
      home_url           =
    http://www.foo.com/some/really/long/url 
    </template>
    
  3. or download this
       use Data::Dumper;
       # This is actually in @body in the larger code
    ...
    
       $Data::Dumper::Sortkeys = \%template;
       print Dumper(\%template);
    
  4. or download this
       use Data::Dumper;
       open(TMPL, "<my.template") or die $!;
    ...
               }
       }
       close TMPL;
    
  5. or download this
    $VAR1 = {
              'bar' => '0',
              'blort' => 'home_url  = http://www.foo.com/some/really/long/
    +url',
              'foo' => 'Yes'
            };
    
  6. or download this
       my $conf = new Config::General(
           -ConfigFile      => "pler.template",
    ...
       }
       $Data::Dumper::Sortkeys = \%config;
       print Dumper(\%config);