user-pic

initself

  • Website: mikebaas.org
  • About: Perl is better than sliced bread. Way better.
Subscribe to feed Recent Actions from initself

  • roho commented on Listing All Installed Programs in Windows XP

    I tried running your code on ActiveState Perl 5.8.9 on Windows Vista and got the following error message with "use diagnostics":
    Can't coerce array into hash at C:\tmp\installed_programs.pl line 12 (#1)
    (F) You used an array where a hash was expected, but the array has no
    information on how to map from keys to array indices. You can do that
    only with arrays that have a hash reference at index 0.


    The error occurs on statements in the "foreach" loop. One thing that looks strange is the first statement:


    next unless m…

  • Ovid commented on New Beginning Perl book

    @initself: ooh, that's embarrassing. And in the first sentence, too :) (Fixed, though)

Subscribe to feed Responses to Comments from initself

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.