Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: seeking direction to start with perl

by desemondo (Hermit)
on Feb 04, 2010 at 04:22 UTC ( #821313=note: print w/replies, xml ) Need Help??


in reply to seeking direction to start with perl

Perl Best Practices is a pretty good place to start - although it does have a little assumed knowledge...

Ultimately though, I'd just pick one of the books (eg the Camel book) and dive in and start writing Perl.

I found learning Perl in a "Read, Write, Read, Write" style quite good in that I tried to apply what I'd just read to the code I wrote. Also reading a book cover to cover, then going back through it a 2nd time - helped fill in a few gaps on some areas I didn't get the first time through

Hope this helps.

Update:
In my opinion, Perl is simply another tool in the toolbox, which may or may not replace your Shell scripts - depending on what you're trying to do. In the 'sysadmin' role, choosing the right tool for the job is just as important as knowing the tools themselves... Building code that is robust, efficient and maintainable is a delicate balance when solving a non-trivial task.
  • Comment on Re: seeking direction to start with perl

Replies are listed 'Best First'.
Re^2: seeking direction to start with perl
by eyepopslikeamosquito (Chancellor) on Feb 04, 2010 at 07:18 UTC

    In my opinion, Perl is simply another tool in the toolbox, which may or may not replace your Shell scripts
    I advocate writing all non-trivial new scripts in Perl, not shell. As for why, see Unix shell versus Perl.

    Re learning Perl in general, a good place to start is learn.perl.org.

      I advocate writing all non-trivial new scripts in Perl, not shell.
      Absolutely, I totally agree.

      The point I was trying to make was that shell scripts are ideal for simple stuff. And that it doesn't usually make sense to use Perl for those tasks... Unless those scripts are beyond two or three lines, or the shell doesn't provide enough power or control.

      In otherwords, if the shell already provides what you need, there isn't much (or any) benefit in rolling your own, whether it be in Perl, VB, php, or any other scripting language...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://821313]
help
Chatterbox?
[Happy-the-monk]: even more OT: received the complete series of Robin Hood/Robin of Sherwood 1984 on used dvds this morning :)
[Happy-the-monk]: (purely coincidental)
[jkva]: Corion Hey there :)
[Happy-the-monk]: Discipulus: are there any perl monks in Milano?
[Discipulus]: i the moment likely no
[karlgoethebier]: i wonder now it will be with my glasses.
[Discipulus]: Milan Perl Mongers seems frozen at 2009
[Discipulus]: karl you dont shoot with eyes, you shoot with the soul
[jkva]: Reminds me of Guardians of the Galaxy

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (9)
As of 2017-10-20 10:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (260 votes). Check out past polls.

    Notices?