Hi rakesh,

thanks for your message. See below for my response.

On Sat, 8 Feb 2014 10:53:21 +0530
rakesh sharma <rakeshsharm...@hotmail.com> wrote:

> Hi
> I am a new to perl.Wanted to know how to master some of the daily used perl
> libraries.

I hope (and assume) that by “libraries” you mean the Perl modules (.pm/etc.)
available on CPAN: https://metacpan.org/ (some Perl modules are available
elsewhere, and a very small subset is part of the core perl, but CPAN is really
the hub of the so-called “third party” Perl modules).

> Most of the examples are different in usage, some are OO and others
> are scalar.

By “scalar” you probably mean non-Object-Oriented or the so-called “procedural”
programming: https://en.wikipedia.org/wiki/Procedural_programming ;
http://www.virtuosimedia.com/dev/php/procedural-vs-object-oriented-programming-oop
 .
If so you are probably aware that Perl is a multi-paradigm programming
language, supporting Object Oriented Programming (OOP), Functional
Programming (FP), Procedural Programming, and other paradigms to a large
extent, *and* neither does it force OOP down one's throat (as is the case for
Java). I.e: the hello world program is simply «print "Hello World!\n"» and does
not have to be wrapped in an object and a method like
http://rosettacode.org/wiki/Hello_world/Text#Java

> I want to learn the OO way of perl.

We had a thread about learning OOP in Perl here a few days ago, where other
people and I posted hopefully helpful and insightful responses:

http://www.nntp.perl.org/group/perl.beginners/2014/02/msg123975.html

> Any tips? Right now I open the
> file and see the usage or prod the net. But the learning remains
> incomplete.Most of the perl books speaks stuffs in general and do not target
> the libraries. thanks,rakesh

I don't fully understand (or more accurately "get to the bottom of") what you
wish to do. Do you want to learn how to use Perl APIs (see
https://en.wikipedia.org/wiki/Application_programming_interface - and I don't
necessarily mean web-based APIs, like those that are REST or SOAP-based, but
rather any Perl module on CPAN or wherever)? Or do you want to learn the core
Perl programming language? Perhaps you want to write your own Perl modules?

I should note that to make a truly effective use of the Perl APIs on CPAN and
elsewhere, you need to be familiar with a substantial amount of the elements
of the core programming language. Most books and tutorials give a lot of focus
on the core language, because that's the hard part, and because learning to
use most of the APIs on CPAN should not be too hard after you know the core
language and its paradigms and tools well. To learn Perl, you can try going to
these resources:

* http://perl-begin.org/ - The Perl Beginners’ Site (note: it’s a site I
originated and maintain, so I may be somewhat biased towards it).

* http://perlmaven.com/ - Perl Maven (“Maven” = an expert in
Hebrew->Yiddish->American English). Maintained by Gabor Szabo and others.

* http://learn.perl.org/ - the Perl.org blessed “Learn Perl” portal, which may
work better for you.

* http://perl-begin.org/tutorials/#perl_in_2hours - this is a very short (but
informative) tutorial that covers most of the core language, but see the
caveats on the anchor (the #... thing that points to a part of the page).

Regards,

        Shlomi Fish

P.S: one of the concepts I heard of using APIs is the so-called “mashups” (see
https://duckduckgo.com/?q=mashups%20apis ) where you combine two or more web
APIs for a greater whole. I didn’t hear the word used before web APIs
have matured recently (with the advent of
https://en.wikipedia.org/wiki/Representational_State_Transfer ), but naturally
I believe software developers have combined several libraries/APIs for a
greater whole starting at least from https://en.wikipedia.org/wiki/Fortran (and
it was definitely done using the C programming language). Similarly, some CPAN
modules depend on hundreds of other CPAN modules - either directly or
indirectly. See: http://ali.as/top100/ .

Many hipsters have an obsession with using cool names for old concepts,
similarly to the fact that the so-called “cloud” computing, or software as a
service (SaaS) or computing-resources-as-a-service had reportedly already
been done in the 1960s on mainframes (but they were not called that).

I’m not blasé ( https://en.wiktionary.org/wiki/blas%C3%A9 ) enough to believe
there haven't been any progress in computing (or with the world and technology
in general) in recent years, and can still vividly recall how difficult it was
to find useful and accurate information as recently as the pre-Google /
pre-Wikimedia (= Wikipedia/Wiktionary/Wikiquote/etc.) Web 1.0
( https://en.wikipedia.org/wiki/Web_1.0 ) days of circa 1995-2001 . But I do
think there’s a lot of hype and neophilia.

Regards,

        Shlomi Fish

-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
Why I Love Perl - http://shlom.in/joy-of-perl

 * rindolf demands equal rights for years, minutes, hours and days to also get
   YAAKOV’S GREAT HUGE LOVE.
    —  http://www.shlomifish.org/humour/fortunes/sharp-perl.html

Please reply to list if it's a mailing list post - http://shlom.in/reply .

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to