Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: What are the business needs from Perl

by jdrago_999 (Hermit)
on Sep 30, 2009 at 21:11 UTC ( #798451=note: print w/replies, xml ) Need Help??

in reply to What are the business needs from Perl

Please let me know what I should learn in Perl, besides the fundamentals in Learning Perl and Perl Cookbook.

To make some bullet-points about "what to learn" I would start with this list:

  • Also read (cover to cover) Programming Perl - it is the definitive guide to the language itself.
  • Learn how to install CPAN modules
  • Learn how to write CPAN modules
  • Unit Testing
  • object-oriented design
    • encapsulation
    • polymorphism
    • inheritance
    • abstraction
  • Linux - the basics
    • ls
    • ps
    • top
    • grep
    • find
  • Database programming and design
    • SQL
    • 3rd normalized form
  • Network Programming Basics
    • difference between TCP and UDP
    • difference between a socket and a filehandle
  • multi-threaded programming
    • difference between processes and threads
    • know when to use threads vs forks
    • understand how to distribute workload in a way that gets the job done as quickly as possible
  • event-based programming
    • callbacks
    • events
    • publish/subscribe pattern (aka the "observer" pattern)

It would also be worth familiarizing yourself with what are known as "Design Patterns" since knowing them will help you articulate (in code) what you are trying to accomplish.

  • Comment on Re: What are the business needs from Perl

Replies are listed 'Best First'.
Re^2: What are the business needs from Perl
by Joost (Canon) on Sep 30, 2009 at 21:21 UTC
    Agreed with most of this list. Two remarks:

    I don't think perl's threading is all that interesting (except when interfacing with threaded C/C++ code).

    Multi-process (forking/IPC) code is more useful just because it's more general (and also easier to translate into multi-machine/networked code), and because of that I'd recommend POE as a good framework to lean since it really makes IPC, networking and event programming a lot easier.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://798451]
[Lady_Aleena]: Um, how does grep do multiline? print "$file:$_" if grep { /get_(array|hash| data)\(.+\)/ } $_; only returns the same 18 lines the command line grep does.
[Lady_Aleena]: my scratchpad has what I have so far.
[choroba]: what do you mean by multiline?
[Discipulus]: thanks 1nickt!
[choroba]: grep is a filter, it selects elements from a list based on a boolean condition
[moritz]: you need to read the file in one go to do a multiline regex match
[erix]: ha ha, I like the Vigilante
[Lady_Aleena]: Forget it. I'm getting angry with it.
[Lady_Aleena]: I'll just have to search for the files using the subs and open them up.

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (9)
As of 2017-05-23 19:53 GMT
Find Nodes?
    Voting Booth?