Help for this page

Select Code to Download


  1. or download this
    $ENV{HTTP_ACCEPT_LANGUAGE}
    
  2. or download this
    my $base_dir_abs = "/var/www/templates";
    my $default_lang = 'en';
    ...
        filename => $file,
        path     => \@dirs,
    );
    
  3. or download this
    
    # Your directory structure may look like
    ...
    /var/www/templates/sp/my_cgi/index.html
    /var/www/templates/sp/my_cgi/step2.html
    /var/www/templates/sp/another_cgi/index.html