{
    "mode": "perldoc",
    "parameter": "SVN::Base",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/SVN%3A%3ABase/json",
    "generated": "2026-06-16T10:21:28Z",
    "synopsis": "# Load the svnra* functions into the SVN::Ra namespace.\npackage SVN::Ra;\nuse SVN::Base qw(Ra svnra);\n# Load svnconfigt structure accessors in the magic namcespace\n# provided by swig, so we could use it returned by other functions\npackage psvnconfigt;\nuse SVN::Base qw(Core svnconfig);",
    "sections": {
        "NAME": {
            "content": "SVN::Base - Base class for importing symbols for svn modules\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "# Load the svnra* functions into the SVN::Ra namespace.\npackage SVN::Ra;\nuse SVN::Base qw(Ra svnra);\n\n# Load svnconfigt structure accessors in the magic namcespace\n# provided by swig, so we could use it returned by other functions\npackage psvnconfigt;\nuse SVN::Base qw(Core svnconfig);\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "SVN::Base is a module importing the subversion perl bindings raw symbols created by swig, into\nproper namespace and make them easier to use.\n\nIt will also find the accessors for members of a C struct, create an simpler accessor function\nlike \"$data->field()\" and \"$data->field($newvalue)\".\n\nOnce you understand the convention of subversion functions in perl bindings, you could look at\nthe subversion api and write them in perl. The API is available in the source header files or\nonline at <https://subversion.apache.org/docs/api/latest/>.\n",
            "subsections": []
        },
        "INTERNALS": {
            "content": "The perl bindings of swig wraps raw functions into different perl modules, for example,\nSVN::Core, SVN::Repos. Upon import, SVN::Base bootstrap the requested module if it's not yet\nloaded, and iterate over the symbols provided in that module, it them puts the function with\nprefix trimmed in the namespace of the caller for this import.\n\nThe 3rd through the last parameter is a list of symbol endings that you wish for SVN::Base not\nto import into your namespace. This is useful for cases where you may want to import certain\nsymbols differently than normally.\n",
            "subsections": []
        },
        "CAVEATS": {
            "content": "SVN::Base consider a function as structure member accessor if it is postfixed ``get'' or\n``set''. Real functions with this postfixes will need extra handling.\n",
            "subsections": []
        },
        "AUTHORS": {
            "content": "Chia-liang Kao <clkao@clkao.org>\n",
            "subsections": []
        },
        "COPYRIGHT": {
            "content": "Licensed to the Apache Software Foundation (ASF) under one\nor more contributor license agreements.  See the NOTICE file\ndistributed with this work for additional information\nregarding copyright ownership.  The ASF licenses this file\nto you under the Apache License, Version 2.0 (the\n\"License\"); you may not use this file except in compliance\nwith the License.  You may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing,\nsoftware distributed under the License is distributed on an\n\"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, either express or implied.  See the License for the\nspecific language governing permissions and limitations\nunder the License.\n",
            "subsections": []
        }
    },
    "summary": "SVN::Base - Base class for importing symbols for svn modules",
    "flags": [],
    "examples": [],
    "see_also": []
}