G'day harangzsolt33,

"Is there a website that explains what each builtin function does ..."

Yes: https://perldoc.perl.org/perl.

"... and how to use it with a little demo program that one can test?"

Most of the entries in perldoc have examples (or links to other manpages with examples).

If you're looking for specific tests, try https://github.com/Perl/perl5. You can pick a specific branch or tag. The default is "blead" but, let's say you wanted the latest stable release (at the time of writing), you'd pick the v5.36.1 tag and get https://github.com/Perl/perl5/tree/v5.36.1. From here you can select the "t" directory where you'll find all of tests: check the README and drill down into subdirectories for specific tests.

"I copied all the functions from perldoc ..."

Perhaps you need to be more specific. To me, that means you looked in https://perldoc.perl.org/functions; however, if you'd done that, you wouldn't be asking where to find function documentation.

There's also a Search function in the top-righthand corner of https://perldoc.perl.org/perl.

— Ken


In reply to Re: How to find Perl demo programs? by kcott
in thread How to find Perl demo programs? by harangzsolt33

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.