Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
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.


In reply to Re: where did yall learn perl? by graff
in thread where did yall learn perl? by DanielM0412

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2022-01-21 00:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (57 votes). Check out past polls.

    Notices?