Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re: where did yall learn perl?

by graff (Chancellor)
on Jul 26, 2011 at 02:26 UTC ( #916646=note: print w/replies, xml ) Need Help??

in reply to where did yall learn perl?

My first substantial learning experience in Perl was in the Perl 4 days (even before web pages existed!); I was handed a few thousand lines of code arranged in several source files that worked together in a pipeline (output of script 1 goes into script 2 then script 3, etc, each of which did a specific text filtering/conditioning task). I was supposed to make it work on a different qulaity of input data.

I spent a lot of time looking up descriptions of core functions via perldoc perlfunc. It took me a while before I discovered the very handy "perldoc -f function_name" approach, but that was okay, because when I scrolled through all those other functions on my way to read about "split" or "substr" or whatever, I learned about a lot of useful things.

I used a lot of the other man pages as well (perlsyn, perlvar, perlop, anything else that looked interesting or relevant). Throughout it all, the thing that helped most in my case was Perl's adoption of -- and useful extensions to -- things I was already familiar with from using C, unix shell, and regular expressions (as in unix tools like 'sed' and 'grep').

But it was also very helpful to be starting with code that already did useful stuff, and having some idea of additional or different stuff that I wanted to make it do. Breaking code, and using the perl debugger to figure out how it broke, can be very instructive.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://916646]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2022-01-19 18:10 GMT
Find Nodes?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:

    Results (55 votes). Check out past polls.