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

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
Hi, I'm just like you, and have been hacking at Perl code for 20 years as a hobby. The only code that effortlessly flows off of my keyboard is
#/usr/bin/perl use warnings; use strict;
after that, I'm consulting a library of my past code, good snippets which I have saved, or searching google for code examples. An esteemed monk here has a sig which reads "90% of all code has already been written", the secret is to find an existing code template for what you are trying to do. After you get some experience, a well-worded google search will almost always give you some usuable code to get started, the talent is in knowing the vocabulary of the language well enough to launch a precise search for your intended purpose.

Also when you see a good snippet, or write something yourself, save it in a personal code library so that when you need a script template, some time down the road, you just pull it out of your existing library. After 20 years, my Perl snippet collection is around 10 gig's !! It pays to have your collection in a set of useful subdirectories, like "file operations", "ascii hex", IPC, Tk, Gtk2, cgi, etc, etc, etc.

Don't worry, you are normal. :-)


I'm not really a human, but I play one on earth. ..... an animated JAPH

In reply to Re: Trudging along the learning perl path. by zentara
in thread Trudging along the learning perl path. by Anonymous Monk

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 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?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2024-04-16 06:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found