Re: Modules
[email protected] (John Harris Gmail) Thu, 26 Oct 2023 01:37:56 -0500
| Newsgroups | perl.beginners |
|---|---|
| Message-ID | <CAKTcm6uA-HzbwGJFnT2874-tf_YMwqhjDROJi-y6w0cDqvqKqw@mail.gmail.com> |
Cool. What book? What platform? What example? I would like to know more face-to-face rather than sporadic emails. Would you like to set up a time to meet on the phone or ZOOM? On Wed, Oct 25, 2023, 11:44 PM William Torrez Corea <[email protected]> wrote: > > > On Wed, Oct 25, 2023 at 5:46 PM John Harris Gmail <[email protected]> > wrote: > >> 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 >>> ⠈⠳⣄⠀⠀⠀⠀ >>> >>> >>> > I am coding examples of a book. I am not doing analysis, coding, design > nor tests. > -- > > With kindest regards, William. > > ⢀⣴⠾⠻⢶⣦⠀ > ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system > ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org > ⠈⠳⣄⠀⠀⠀⠀ > > >