Re: Modules

[email protected] (John Harris Gmail) Wed, 25 Oct 2023 18:47:44 -0500
Newsgroups perl.beginners
Message-ID <CAKTcm6tWKk6KrDh9m28ubnnKj1mFA7LC0s5z=UaF5uYunvxQTQ@mail.gmail.com>
Why not?

On Tue, Oct 24, 2023, 3:07 PM William Torrez Corea <[email protected]>
wrote:

>
>
> On Tue, Oct 24, 2023 at 12:24 PM John Harris Gmail <[email protected]>
> wrote:
>
>> What modules and/or libraries are you using? Before you code do you block
>> diagram and flowchart your programs?
>>
>> On Tue, Oct 24, 2023, 12:06 PM Levi Elias Nystad-Johansen via beginners <
>> [email protected]> wrote:
>>
>>> I use modules for complex things that I might get wrong. To re-use other
>>> people's code is often better than to re-invent their solutions.
>>>
>>> https://metacpan.org/pod/WWW::Mechanize::Examples has some good
>>> examples of useful scripts that are short and simple.
>>> Imagine how hard it would be to write the same scripts without the
>>> module.
>>>
>>> When I have an issue that I think others must also have faced, I look
>>> for a module to solve the issue.
>>>
>>> But I am critical to modules that are outdated/abandoned, heavy with
>>> many dependencies, or unproven with few downloads etc.
>>>
>>> I also remove modules when I no longer need them. I find this easier
>>> with App::cpanminus
>>>
>>> - L
>>>
>>>
>>>
>>>
>>>
>>>
>>> -------- Original Message --------
>>> On 24. okt. 2023, 17:31, William Torrez Corea < [email protected]>
>>> wrote:
>>>
>>>
>>> When I must use modules and when I don't must use?
>>>
>>> I am working without modules, only i use:
>>>
>>>    1. Subroutines
>>>    2. Control flow
>>>
>>> My programs are short and simple, they do not exceed 15 lines. I think
>>> that I need more practice and learn more about Perl. I have limited
>>> knowledge in Perl.
>>>
>>> --
>>>
>>> With kindest regards, William.
>>>
>>> ⢀⣴⠾⠻⢶⣦⠀
>>> ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
>>> ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
>>> ⠈⠳⣄⠀⠀⠀⠀
>>>
>>>
>>> I only coding, I don't use block diagrams or flowchart.
>
> --
>
> With kindest regards, William.
>
> ⢀⣴⠾⠻⢶⣦⠀
> ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
> ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
> ⠈⠳⣄⠀⠀⠀⠀
>
>
>