artist has asked for the wisdom of the Perl Monks concerning the following question:

Please let me know if there are better ways to represent the concept I am talking about.

Assuming that you are writing a program 'about' yourself (for career, perl development etc..) , using an object called Perlmonks Website. First, you can define different methods to talk this object. Then, you will call the methods as you need them. Once you define the methods, you just cannot do random things. You strictly have to follow the methods.

Now, we are following this practice to a certain extent. What are the different methods you have defined for 'this' object, which suits your purpose and needs ? Can you write a simple program that uses these methods ?

An example:
Every morning, I login() on Perlmonks and read_newest_nodes(). I reply_to_nodes(which can use my knowledge and wisdom). In my spare time I often read_snippets() and sometime contribute_snippet() also. Every evening I hangout_at_pmchat() and discuss(non_perl_things). While driving I ponder_over_meditations().

Understanding of common practices of using Perlmonks, over the years could lead to a better and efficient use of the site for given individual.

Update: Fomatted question 'boldly' after pboin's comment.

--Artist

Replies are listed 'Best First'.
Re: An Object: Perlmonks Website
by pboin (Deacon) on May 11, 2005 at 18:13 UTC

    I'm not really sure what your question is, (or even if you actually have one.)

    But, that being said, you've apparently started to gather your thoughts in the direction of object-oriented code. And, as you've done (maybe unknowingly?) using verb-noun pairs is a a decent way to start getting a grip on what you want to do.

Re: An Object: Perlmonks Website
by starbolin (Hermit) on May 12, 2005 at 06:00 UTC

    I get it, you are describing your Perlmonks experience using a kind of symbolic notation. If I may extend on your thinking, a way would be needed to incorporate multitasking. I often have a CB client open along with SoPW, CPAN, several tabs for various documents, a text editor and several Xterm windows for running code.

    Other monks would require an interupt based model. I know that some use chat bots, news bots and/or Rss feeds.

    We could use callbacks or signals but most OO implementations are designed to obscure a lot of OS dependancies like execution order or resource blocking so to examine those issues would require specific symbols in your language set.


    s//----->\t/;$~="JAPH";s//\r<$~~/;{s|~$~-|-~$~|||s |-$~~|$~~-|||s,<$~~,<~$~,,s,~$~>,$~~>,, $|=1,select$,,$,,$,,1e-1;print;redo}