Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

last hour of cb

by Tanktalus (Canon)
on Jan 26, 2007 at 20:59 UTC ( #596792=document: print w/replies, xml ) Need Help??

Updates more-or-less every 5 minutes (except when there is no activity). Extracted from Tanktalus' CB Stats' database. Feedback
Shows the last hour or so, but never more than will fit in 64k, nor over two hours. Other sources of cb history
Last update: May 24, 2017 at 04:50 UTC

Previous message (not shown): May 24, 2017 at 03:18 UTC
[talexb]talexb toddles off to bed ..
[james28909]id just rename the subrouties perl what kind of data they are getting. something easy to remember too. like if get_data were returning movies titles, rename get_data to movies or movie_titles or get_movie_titles.
[james28909]s/perl/per/
[james28909]but i dont really know what your end goal is. if it works dont fix it lol
[Lady_Aleena]james28909, I use get_data in a subroutine called movies.
[Lady_Aleena]james28909, I put it at the top of my scratchpad, if you want to look at it.
[Lady_Aleena]I remember being pretty proud of that little sub when I wrote it.
[james28909]oh xD
[james28909]i see the predicament here.
[james28909]maybe rename it to 'query'
[james28909]but then you have the others as well
[Lady_Aleena]Renaming things like get_THAC0 to just THAC0 was easy. These are harder.
[james28909]consolidate the three subs into one
[Lady_Aleena]Um, what?
[james28909]check is is data or hash or array and do tasks then return needed data
[Lady_Aleena]james28909, you might want to look at the other two on my scratchpad.
[james28909]after you send to a sub, you can check if it is array or ref ect with ref

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
[Lady_Aleena]: Renaming things like get_THAC0 to just THAC0 was easy. These are harder.
[james28909]: consolidate the three subs into one
[Lady_Aleena]: Um, what?
[james28909]: check is is data or hash or array and do tasks then return needed data
[Lady_Aleena]: james28909, you might want to look at the other two on my scratchpad.
[james28909]: after you send to a sub, you can check if it is array or ref ect with ref
[james28909]: check if it is a hash or an array ect with ref in one sub.

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2017-05-24 04:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?