{
    "mode": "perldoc",
    "parameter": "Pod::Simple::PullParserStartToken",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Pod%3A%3ASimple%3A%3APullParserStartToken/json",
    "generated": "2026-06-13T06:26:23Z",
    "synopsis": "(See Pod::Simple::PullParser)",
    "sections": {
        "NAME": {
            "content": "Pod::Simple::PullParserStartToken -- start-tokens from Pod::Simple::PullParser\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "(See Pod::Simple::PullParser)\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "When you do $parser->gettoken on a Pod::Simple::PullParser object, you might get an object of\nthis class.\n\nThis is a subclass of Pod::Simple::PullParserToken and inherits all its methods, and adds these\nmethods:\n\n$token->tagname\nThis returns the tagname for this start-token object. For example, parsing a \"=head1 ...\"\nline will give you a start-token with the tagname of \"head1\", token(s) for its content, and\nthen an end-token with the tagname of \"head1\".\n\n$token->tagname(*somestring*)\nThis changes the tagname for this start-token object. You probably won't need to do this.\n\n$token->tag(...)\nA shortcut for $token->tagname(...)\n\n$token->istag(*somestring*) or $token->istagname(*somestring*)\nThese are shortcuts for \"$token->tag() eq *somestring*\"\n\n$token->attr(*attrname*)\nThis returns the value of the *attrname* attribute for this start-token object, or undef.\n\nFor example, parsing a L<Foo/\"Bar\"> link will produce a start-token with a \"to\" attribute\nwith the value \"Foo\", a \"type\" attribute with the value \"pod\", and a \"section\" attribute\nwith the value \"Bar\".\n\n$token->attr(*attrname*, *newvalue*)\nThis sets the *attrname* attribute for this start-token object to *newvalue*. You probably\nwon't need to do this.\n\n$token->attrhash\nThis returns the hashref that is the attribute set for this start-token. This is useful if\n(for example) you want to ask what all the attributes are -- you can just do \"keys\n%{$token->attrhash}\"\n\nYou're unlikely to ever need to construct an object of this class for yourself, but if you want\nto, call \"Pod::Simple::PullParserStartToken->new( *tagname*, *attrhash* )\"\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "Pod::Simple::PullParserToken, Pod::Simple, Pod::Simple::Subclassing\n",
            "subsections": []
        },
        "SUPPORT": {
            "content": "Questions or discussion about POD and Pod::Simple should be sent to the pod-people@perl.org mail\nlist. Send an empty email to pod-people-subscribe@perl.org to subscribe.\n\nThis module is managed in an open GitHub repository, <https://github.com/perl-pod/pod-simple/>.\nFeel free to fork and contribute, or to clone <git://github.com/perl-pod/pod-simple.git> and\nsend patches!\n\nPatches against Pod::Simple are welcome. Please send bug reports to\n<bug-pod-simple@rt.cpan.org>.\n",
            "subsections": []
        },
        "COPYRIGHT AND DISCLAIMERS": {
            "content": "Copyright (c) 2002 Sean M. Burke.\n\nThis library is free software; you can redistribute it and/or modify it under the same terms as\nPerl itself.\n\nThis program is distributed in the hope that it will be useful, but without any warranty;\nwithout even the implied warranty of merchantability or fitness for a particular purpose.\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Pod::Simple was created by Sean M. Burke <sburke@cpan.org>. But don't bother him, he's retired.\n\nPod::Simple is maintained by:\n\n*   Allison Randal \"allison@perl.org\"\n\n*   Hans Dieter Pearcey \"hdp@cpan.org\"\n\n*   David E. Wheeler \"dwheeler@cpan.org\"\n",
            "subsections": []
        }
    },
    "summary": "Pod::Simple::PullParserStartToken -- start-tokens from Pod::Simple::PullParser",
    "flags": [],
    "examples": [],
    "see_also": []
}