user-pic

Mr. Muskrat

  • About: I'm married with 2 girls. By day, I work as a Senior Design Engineer (full time Perl programmer) for EFJohnson Technologies, a Land Mobile Radio company, in the Dallas/Fort Worth area. By night, I play various games as the mood strikes me. (Lately it's CPAN smoke testing.)
  • Commented on Veure Update
    Yes, I'm curious. Please keep posting about Veure....
  • Commented on I Was so Impressed I Wrote More Code
    What about the first bit? You know, the one that specifies setuid, setgid and the sticky bit? http://en.wikipedia.org/wiki/Chmod...
  • Posted File::Temp and File::Copy to Mr. Muskrat

    I recently updated File::Temp and wanted to standardize how we were creating temp files. Most places were using File::Temp already. I ran across one file where we using IO::File and returning both a file handle and the filename. I changed it to simply return a File::Temp object.

    I rolled …

  • Commented on Introducing Platform
    Adding to Andy's question... How would you indicate that it works on *nix and cygwin? I think you'll want Platform::Windows::MSWin32 and Platform::Windows::Cygwin....
  • Commented on Docs for SQLite's foreign_key_list($table)
    According to Using SQLite by Jay A. Kreibich the elements are: id Integer "Foreign key ID number" seq Integer "Column sequence number for this key" table Text "Name of foreign table" from Text "Local column name" to Text "Foreign column...
  • Posted GitHub for _____ to Mr. Muskrat

    Earlier today I wanted to install git on Windows so that I could keep my distroprefs synced between smokers. I almost installed Git for Windows but I waited.

    A little bit ago, I was asked to test a new version of Net::Printer (after I submitted a b…

  • Commented on Smoke Testing & CPAN prefs (a lesson learned)
    I think it's time to set up git on both Windows boxes....
  • Posted Smoke Testing & CPAN prefs (a lesson learned) to Mr. Muskrat

    I started smoke testing on Windows a short time ago. I already had Strawberry Perl 5.12.3 and CPAN::Reporter. I installed CPAN::Reporter::Smoker and started it up.

    Then I did the same thing on my laptop that was running Strawberry Perl 5.16.2.

    I quickly discovered that many module…

  • Commented on 13% of CPAN distributions don't have a test report on Windows
    I just set up two Windows 7 smokers tonight that will be smoking when I don't need them for something else. Currently, testing on 5.12.1 and 5.16.2 but I'll be replacing 5.12.1 with 5.14.3 soon....
  • Commented on Windows CPAN Testers, your help please...
    It installed just fine for me....
  • Commented on Windows CPAN Testers, your help please...
    Have you seen Zenity for Windows? http://www.placella.com/software/zenity/ Also, someone beat you to the Wenity name. It's a Zenity clone written in Java. http://kksw.zzl.org/wenity.html I'll try installing Alien::Wenity just as soon as my cpan upgrades finish....
  • Commented on Deep Cloning
    Peter, if you had actually tried it you would find that it happens regardless of what variables are used....
  • Commented on Deep Cloning
    So the workaround is to hold off on calling p() until after you've cloned. use strict; use warnings; use Clone qw(clone); use Data::Printer; use 5.010; my $a = { blue => '#0000ff', one => 1 }; my $b = clone($a);...
  • Commented on Deep Cloning
    It's definitely Data::Printer doing it. It replaces your IV with a PVMG. use strict; use warnings; use Data::Printer; use Devel::Peek; use 5.010; my $a = { one => 1 }; Dump $a; p $a; Dump $a; __END__ SV = IV(0x43e920)...
  • Commented on Deep Cloning
    Data::Printer does some weird stuff to $a and $b. Use Devel::Peek to Dump the variables after calling p(). use strict; use warnings; use Clone qw(clone); use Data::Printer; use Devel::Peek; use 5.010; my $a = { blue => '#0000ff', one =>...
  • Commented on Deep Cloning
    It looks like you've found a bug in Data::Printer. use strict; use warnings; use Clone qw(clone); use Data::Dumper; use 5.010; my $a = { blue => '#0000ff', one => 1 }; say "A"; say Dumper( $a ); my $b =...
  • Commented on How to Post an Article on blogs.perl.org
    Seems like a poor decision by the MT folks. Blogging software should provide the functionality where it automatically finds the lead and uses it where appropriate instead of relying on users to know that it is 1) possible and 2)...
  • Commented on How to Post an Article on blogs.perl.org
    Why are the tabs labeled "body" and "extended" if we should really be using them as "lead" and "body"? Perhaps you could explain why we should do this when stuffing it all in the body tab works just fine. Is...
  • Commented on When Perl is not applicable
    You assumed that Perl was the problem without any real proof. The way that you have described them, your reports are the sort of thing that every Perl business runs so why are yours so darn slow? It sounds to...
  • Posted File::LinkDir 1.02 to Mr. Muskrat

    File::LinkDir 1.02 is on its way to a CPAN mirror near you.

    Two changes went into this release.
    - The link-file script will be installed now. (Hinrik)
    - The --add-ignore option works properly now. (Matt)

    I'd like to thank Philip Durbin for pointing out that --add-ignore…

  • Commented on Using the Record Separator
    Oh, eh1mnwy already said the same thing. I guess I left the window open longer than I realized before replying. :)...
  • Commented on Using the Record Separator
    How about doing something like this? # initialize variables { local $/ = "\n\n"; # read file here } # process the data here...
  • Commented on perlbrew and tmux
    I've been using perlbrew since it was initially released. It works well for me at home. I've never heard of perlall until now. The README doesn't really do a good job of explaining why I would want to use it....
  • Posted perlbrew and tmux to Mr. Muskrat

    Tonight I decided to install a variety of perl versions on the desktop PC where I run Arch Linux. Rather than kick them all off manually, I whipped up a bash script wrapper around perlbrew.

    It loops through all of the versions of perl I'm interested in. It starts perlbrew with the specifi…

  • Commented on Oracle SESSIONS_PER_USER
    I feel better now (although really stupid at the same time) because it has nothing to do with the version of DBI or DBD::Oracle. We have never really tried to limit the kernel resources so RESOURCE_LIMIT is set to false...
  • Commented on Oracle SESSIONS_PER_USER
    I also just noticed that proxy connections are not documented in the DBD::Oracle documentation....
  • Posted Oracle SESSIONS_PER_USER to Mr. Muskrat

    Connecting to Oracle with a proxy connection like this:

    We recently updated DBI to 1.620 and DBD::Oracle to 1.44 (late last week I think). Today I saw an error that I have never seen before (but should have). "ORA-0…

  • Commented on Switching to Notepad++
    I did try Padre early on but I'll try it again....
  • Commented on When the speed of light is too slow
    The maximum distance that light or electricity can travel in a nanosecond is 11.8 inches. The maximum distance that light or electricity can travel in a microsecond is 984 feet. It's a pity that networks work much slower than the...
  • Commented on When the speed of light is too slow
    Video of Grace Hopper talking about nanoseconds http://www.youtube.com/watch?v=JEpsKnWZrJ8...
Subscribe to feed Recent Actions from Mr. Muskrat

  • Toby Inkster commented on Introducing Platform

    You could take a look at GETTY's Alien::ffmpeg and Alien::mpg123.

    These distributions will actually build the relevant binary and stash it somewhere in @INC. You can then query the module to get the path to the binary.

    Of course you might want to be able to use "hg" found in the user's $PATH if it exists, and only fall back to compiling your own. But there are some advantages to building your own - you can rely on a known version of "hg"; and you can rely on "hg" actually being Mercurial, and not some other random binary that just happens to be called "/usr/bin/hg".

  • Aristotle commented on Introducing Platform

    Those aren’t just related, Yanick, they are the right approach. This Platform::* stuff does not appear particularly well thought out to me.

  • Joel Berger commented on Introducing Platform

    I should mention. Getty is taking my Alien::Base module further than it is intended in applying it to executables. I have warned him explicitly that I may change things that might break what he is doing, so on his head be it. I DO hope to add executable support to Alien::Base, but it hasn't been given much thought yet, and it will need MUCH thought to do it right (though hopefully less than dynamic libraries have needed).

  • Leon Timmermans commented on Introducing Platform

    Instead of having a hard-coded list of osnames you might want to rely on Perl::OSType. Though as Mr. Muskrat said there are some tricky bits such as cygwin.

  • Ether commented on Introducing Platform

    I think this would be better indicated as metadata, rather than as a placeholder module.

Subscribe to feed Responses to Comments from Mr. Muskrat

About blogs.perl.org

blogs.perl.org is a common blogging platform for the Perl community. Written in Perl with a graphic design donated by Six Apart, Ltd.