Over the years, I have accumulated quite a large selection of snippets,(nearly 700 megs) which I catagorize according to these directories.
1DOCS-REF 1liner Gtk2 JAPH-poems-obfu-fun PDL Par Qt Quiz SDL SWF Tcl Tk Tk-big X11 Zinc admin algorithms array ascii-hex audio binary-data cgi compression conditionals csvdb curses data-munging date-time dbm devel-debugging encryptions error-carp-taint fcgi file-dir-ops filtering graphics hash html inline input ipc keyboard loops mail microperl misc modules net numbers objects parrot perlguts perlmonks-snippets pod poe ppt printout-stdout program-execution ps-pdf regex rpm screen search-engine security serial-comm signals sockets sorting sql sqlite string-ops subroutines swig system-exec templates threading tie tricks unicode video virii win32 xml xs zip-code-lat-long

Then in each of those directories, I have subdirs called 1DOCS( so it's at the top), and a subdir for each project in that catagory. I also place the many varied snippets that releate to that catagory. I try to name the snippets to be descriptive of their content, like "dir-list-recursive" or "threaded-shared-hash", etc,

Now I can go to the directory catagory and scan the names for the snippet I'm looking for, OR when I'm just looking for usage of a function, I scan each file for the word with Gtk2 Visual Grep or in the past... ztksearch. Those apps let me recursively scan the directories for a name fragment, or a word fragment in the files.

Using this system, I can find whatever I need within a minute.


I'm not really a human, but I play one on earth. flash japh

In reply to Re: Organizing personal perl library (AKA, personal CPAN) by zentara
in thread Organizing personal perl library (AKA, personal CPAN) by srdst13

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



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.