The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.
{%- block doctype -%}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
{%- endblock %}

{%- set render_sidebar = (not embedded) and (not theme_nosidebar|tobool) and (sidebars != []) %}
{%- set url_root = pathto('', 1) %}

{%- if not embedded and docstitle %}
  {%- set titlesuffix = " &mdash; "|safe + docstitle|e + " " + release|e %}
{%- else %}
  {%- set titlesuffix = "" %}
{%- endif -%}

{%- macro githublink() -%}
    <a href="https://github.com/mongodb/{{theme_repo_name}}/blob/{{theme_branch}}/source/{{pagename}}.txt" target="_blank" title="Edit {{pagename}}.txt on github">Edit this Page</a>
{%- endmacro -%}

{%- macro jiralink() -%}
   https://jira.mongodb.org/secure/CreateIssueDetails!init.jspa?pid=10380&issuetype=4&priority=4&summary=Comment+on%3a+%22{{ pagename | escape }}%2Etxt%22
{%- endmacro -%}
{%- macro relbar() %}
    <div class="bc">
      <ul>
        {%- block rootrellink %}
        {%- endblock %}
        {%- for parent in parents %}
          <li><a href="{{ parent.link|e }}">{{ parent.title }}</a><span class="bcpoint"> > </span></li>
          {% if loop.last %}<li>{{title}}</li>{% endif %}
        {%- endfor %}
        {%- block relbaritems %} {% endblock %}
      </ul>
    </div>
{%- endmacro %}

{%- macro sidebar() %}
   {%- if render_sidebar %}
       <div class="sphinxsidebar">
         <div class="sphinxsidebarwrapper">
           {%- if sidebars != None %}
              {%- for sidebartemplate in sidebars %}
                  {%- include sidebartemplate %}
              {%- endfor %}
           {%- endif %}
         </div>
       </div>
    {%- endif %}
{%- endmacro -%}

{%- macro script() %}
   <script type="text/javascript">
     var DOCUMENTATION_OPTIONS = {
         URL_ROOT:    '{{ url_root }}',
         VERSION:     '{{ version|e }}',
         COLLAPSE_INDEX: false,
         FILE_SUFFIX: '{{ '' if no_search_suffix else file_suffix }}',
         HAS_SOURCE:  {{ has_source|lower }},
     };
   </script>
   {%- for scriptfile in script_files %}
       <script type="text/javascript" src="{{ pathto(scriptfile, 1) }}"></script>
   {%- endfor %}
{%- endmacro -%}

{%- macro css() %}
   <link rel="stylesheet" href="{{ pathto('_static/' + style, 1) }}" type="text/css" />
   <link rel="stylesheet" href="{{ pathto('_static/pygments.css', 1) }}" type="text/css" />
   {%- for cssfile in css_files %}
       <link rel="stylesheet" href="{{ pathto(cssfile, 1) }}" type="text/css" />
   {%- endfor %}
{%- endmacro -%}

{%- macro render_nextprev() %}
    <div id="btnv">
        <ul id="btnvl">
          {%- if prev %}
              <li id="btnvpr"><a href="{{ prev.link|e }}" title="Previous Section: {{ prev.title|striptags|e }}">&lt; &nbsp; {{ prev.title|striptags|e }}</a></li>
          {%- endif %}
          {%- if parents %}
              <li id="btnvup"><a href="{{ parents[0].link|e }}" title="Parent Section: {{ parents[0].title|striptags|e }}" >&#47;&#92;&nbsp; {{ parents[0].title|striptags|e }}</a></li>
          {%- endif %}
          {%- if next %}
              <li id="btnvnx"><a href="{{ next.link|e }}" title="Next Section: {{ next.title|striptags|e }}">{{ next.title|striptags|e }} &nbsp;&gt;</a></li>
          {%- endif %}
        </ul>
    </div>
{%- endmacro -%}

{% if theme_language == '' %}
   <html xmlns="http://www.w3.org/1999/xhtml">
{%- else -%}
   <html xmlns="http://www.w3.org/1999/xhtml" lang="{{theme_language}}">
{%- endif %}

<head>
  {%- block htmltitle %}<title>{{ title|striptags|e }}{{ titlesuffix }}</title>{%- endblock -%}

  <link rel="shortcut icon" href="http://media.mongodb.org/favicon.ico" />
  <meta http-equiv="Content-Type" content="text/html; charset={{ encoding }}" />
  <meta name="robots" content="index" />
  <meta name="release" content="{{release}}"/>
  <meta name="DC.Source" content="https://github.com/mongodb/{{theme_repo_name}}/blob/{{theme_branch}}/source/{{pagename}}.txt"/>

  {%- if pagename == 'index' %}
      <link rel="canonical" href="http://docs.mongodb.org/{{theme_project}}/" />
  {%- else %}
      <link rel="canonical" href="http://docs.mongodb.org/{{ theme_project }}/{{pagename}}" />
  {%- endif -%}

  {{ metatags }}
  {{ css() }}

  {%- if not embedded %}
      {{ script() }}

      {%- block googlecse_opensearch %}
          <link rel="search" type="application/opensearchdescription+xml" href="http://docs.mongodb.org/osd.xml" title="MongoDB Help"/>
      {%- endblock -%}

      {%- if favicon %}
          <link rel="shortcut icon" href="{{ pathto('_static/' + favicon, 1) }}"/>
      {%- endif %}
  {%- endif %}

  {%- block linktags %}
      {%- include "linktags.html" %}
  {%- endblock -%}

  {%- block extrahead %}{% endblock -%}

  {%- block sitesearch %}
      {%- if builder != 'singlehtml' %}
          <script>
            (function() {
               var cx = '017213726194841070573:WMX6838984';
               var gcse = document.createElement('script'); gcse.type = 'text/javascript'; gcse.async = true;
               gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//www.google.com/cse/cse.js?cx=' + cx;
               var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(gcse, s);
            })();
          </script>
      {%- endif %}

  {%- endblock -%}
</head>
<body>
  {%- block header %}
      <div id="header-db" class="spread">
        <div class="split">
          <div id="logo">
            <div><a href="http://www.mongodb.org/"><img class="logo" src="http://media.mongodb.org/logo-mongodb.png" alt="MongoDB Logo"/></a></div>
          </div>
        </div>
      </div>
  {%- endblock -%}

  {%- block content %}
      {%- block sidebar1 %} {# possible location for sidebar #} {% endblock %}
      <div class="document">
        {%- block document %}
           <div class="documentwrapper">
             {%- if render_sidebar %}<div class="bodywrapper">{%- endif %}
               <div class="body">
                 {{ relbar() }}
                 <div id="cse-results">
                   <gcse:searchresults linkTarget="_top"></gcse:searchresults>
                 </div>
                 {% block body %}{% endblock %}
                 {{- render_nextprev() -}}
               </div>
             {%- if render_sidebar %}</div>{%- endif %}
           </div>
        {%- endblock %}
        {%- block sidebar2 %}{{ sidebar() }}{% endblock %}
        <div class="clearer"></div>
      </div>
  {%- endblock %}

  {%- block commnav -%}
      <div id="top-right">
        <div class="user-right">
          <ul id="header-menu-bar" class="ajs-menu-bar">
            <li class="normal"><a target="_blank" href="http://groups.google.com/group/mongodb-user">Forums</a></li>
            <li class="normal"><a target="_blank" href="http://blog.mongodb.org/">Blog</a></li>
            <li class="normal"><a href="http://www.mongodb.org/downloads">Download</a></li>
            <li class="normal"><a href="http://docs.mongodb.org/ecosystem/drivers/">Drivers</a></li>
            <li class="normal"><a href="http://www.10gen.com/events">Events</a></li>
            <li class="normal last"><a class="last" href="http://docs.mongodb.org/manual/meta/translation">Translations</a></li>
          </ul>
        </div>
      </div>
  {%- endblock -%}

  {%- block searchbox %}
      <div class="search-db"><gcse:searchbox></gcse:searchbox></div>
  {%- endblock %}

  {%- block subnav %}
      {%- if theme_project != 'about' %}
          <div id="etp">
            <ul>
              <li>{{ githublink() }}</li>
              <li><a href="http://github.com/mongodb/{{ theme_repo_name }}" target="_blank" title="Fork the documentation on GitHub and contribute.">GitHub</a></li>
              <li><a id="jirafeedback" href="{{ jiralink() }}" target="_blank" title="Report a problem with {{pagename|e}}.txt on Jira">Report a Problem</a></li>
            </ul>
          </div>
      {%- endif %}
  {%- endblock -%}

  {%- block footer %}
      <div class="footer">
        <p>
          {% trans copyright=copyright|e %}&copy; <a href="{{ path }}">Copyright</a> {{ copyright }} {% endtrans %}
          MongoDB&reg;, Mongo&reg;, and the leaf logo are registered trademarks of <a href="http://www.10gen.com/">10gen, Inc.</a>
        </p>
      </div>
  {%- endblock %}

  {%- block analytics %}
      {%- include "analytics.html" %}
  {%- endblock %}

  {%- block jiracollector %}
      {%- include "jiracollector.html" %}
  {%- endblock %}

  {%- block versionnav %}
      {%- include "versionnav.html"%}
  {%- endblock %}
</body>
</html>