Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
Lots of great comments here!

At Gavin's suggestion I just now posted two sets of pictures, those of the first mouse caught and the sixth mouse caught.  Warning -- the images are graphic; please don't view them if it bothers you to see a mouse killed!

I didn't take the time to create the HTML to view it as a movie, so you have to single-step through it.  If you're so inclined, you can always save the images locally, and then view them with the MouseCam program.

I didn't bother with mouse2 (which was only a single image, since when I caught it, I'd inadvertently set the maximum save to 7200 images (ie. 2 hours' worth), and thus didn't have any "live" shots of the mouse, if you'll forgive the pun).  I also have the "mouse4" sequence, which is fairly short; that mouse wasn't as careful as "mouse6" is, as I mentioned in the OP.

shmem, you're right, I was interested in "how" they were stealing the traps (which I never did find out).  Someday, I may have more evidence, if the traps ever appear ...

zentara, I'll take a look at your program.  I did think of using motion-detection, but I didn't have the time to try writing the algorithms, as I wanted to start catching mice as soon as I could.  (I also didn't mind saving all images, since it guaranteed I wouldn't miss any, and my "purge" algorithm worked fine anyway).  As for a light source, I had a lamp continually on in the basement, so the image would always have some light during nighttime hours.

And kyle, you may be right, but fortunately I'm not squeamish about disposing of the mice (although my wife is a different story).  I've gotten lots of good information from people, and found that the common wisdom is correct -- the mice are the most happy with good ol' peanut butter.  I've also heard (though not tried it yet), that they enjoy a fatty piece of bacon.


In reply to Re: In Search of a Better Mousetrap by liverpole
in thread In Search of a Better Mousetrap by liverpole

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, 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, 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.
  • Log In?

    What's my password?
    Create A New User
    [Corion]: choroba: Hmm - no, I keep the snippets inline, but as my framework also has support for capturing output etc., maybe I should do the same...
    [Corion]: haukex: Yes, that approach is sane, and it heals the fragility of Pod parsers in a nice way while still syntax-checking stuff
    [choroba]: Unfortunately, none of it is online
    [haukex]: I figured that POD tests make sense, but only as author tests
    [choroba]: I mean, the slides are, but not the makefile with scripts to create them
    [Corion]: haukex: I've only now arrived at that revelation ;)
    [Corion]: choroba: I use spod5, which also has that support, and also implements its own kinda-make stuff
    [haukex]: But that module I just linked to assumes that most verbatim blocks are runnable code, I have other modules where that's not the case, so there I just copy-and-paste the synopsis into the author tests...
    [haukex]: not the most efficient, but then again, I don't have that many modules on CPAN :-)
    [Corion]: haukex: Yes, but if it's only supposed to run on my machine, I can be far more liberal with how I extract the code etc.

    How do I use this? | Other CB clients
    Other Users?
    Others imbibing at the Monastery: (11)
    As of 2017-02-27 12:29 GMT
    Find Nodes?
      Voting Booth?
      Before electricity was invented, what was the Electric Eel called?

      Results (385 votes). Check out past polls.