Windows 7

PerlCritic Aborting - Magic Number checking failed

When I attempt to run my perlcritic-gui.exe, I am getting an abend with the error message:

Failed to obtain list of policies from percritic-dump Magic number checking on storable fiel failed at ..\..\lib\ (autosplit into ..\..\lib\auto\Storable\ line 398, at /<C:\Program Files\ActiveState Perl Dev Kit 8.0.1\bin\perlcritic-gui.exe>PDK/PerlCritic/ line 21

Does anyone have any idea what might need to be done to get PerlCritic to work?

Unable to Import my user created module

I built a module called "" and put it in the folder c:\pytemp .

I made sure that "c:\pytemp" was on the python path, and checked to see that it was in sys.path. It was the very first item after ''.

When I ran "import categories," I got the error "No module named categories"

I am new to the Python world, but it sure seems I followed the docs. What might work here?


Windows 7 error

Hi, trying to install a package on Windows 7 and suddenly a five minute task became an all day odyssey.

This is the error I get:

"All activated install areas are read-only. You cannot currently install or remove packages. Try enabling the uninitialized Areas in the Preferences dialog"

For some reason, Windows does not allow me (even running Explorer as admin) to change the ownership on "C:\Program Files (x86)\Perl\lib" to Full Control for my username.

Has anyone else experienced this?

Noob question


I am a newbie to Perl and I like to know how perl scripts are used. I do not see a .pl in the addressbar of the browser in most of the websites I visited. Are perl scripts run at the background? or if it is part of an html frame? What if I want to create a guestbook using perl? Is it ok to have a .pl as the extension of my webpage?

Thanks for the help...

Windows Toplevel "X" Close Button Binding

I need to have a script run when a toplevel window is closed using the red "X" button in the top right hand corner of the window. I have done this before but I can't remember where I found the infromation.

If someone can give me an example or point me to the doucmentation that would be even better.

Found the answer...

bind . {...script...}

Read and compare russian imap-folder name with Mal::ImapClient


I'm having troubles with reading mail from Exchange's common folders.
Folder names are russian, and when i'm try to read mail, have error (in this post russian symbols shows as ???):

#!perl -w
use strict;
use Mail::IMAPClient;
use Encode;
use Encode::IMAPUTF7;
use DBI;

my $imap = Mail::IMAPClient->new(
    Server      => 'mailservername',
    User        => 'loginname',
    Password    => 'password',
    Ssl         => 0,
    Uid         => 1,    
) or die "new failed: $@\n";

MSI and AS Package fail to install

I've been trying to install ActivePerl 5.12.1 for Windows 64.msi on Windows 7 and continue to get the following error:

Product: ActivePerl 5.12.1 Build 1201 (64-bit) -- Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action ConfigurePerl, location: C:\Windows\Installer\MSIAFFC.tmp, command: "C:\Perl64\bin\wperl.exe" "C:\Perl64\bin\"

Once the error occurs, the program rolls back and uninstalls itself.


I am trying to use ppm install PDF::Reuse::Barcode and it gives me an error:
ppm install failed: Can't find any package that provides PDF::Reuse::Barcode

I am Win7 x 64 - hence did not got the route of nmake.

ppm has always been my choice of installing Perl modules.

Can I use ppm to install it by downloading/unzipping the module on my
local server - any instructions?

Any help is greatly appreciated in installing this module,


HTA - Hyper Text Application Support

I started to develop 1999 all my CMS using ActiveState Perk and
HTA = Hyper Text Application
using MSIE as GUI.

I used until now a Perl version from 1999.

At a newer version, there hat been probelms updating the GUI.

Before I purchased my new notebook, I tested at an other computer my software with Windows 7. It worked

But the other computer had the 32 Bit Edition, my has the 64 Bit edition. Here the old installer does not work, also compatibility modes do not work.

So I just tried the latest Perl 5.12 edition 64 bit version on my new notebook.


Bitwise operators and '>>'

Hello all -

I've been coding in Python for a couple of months now, and I recently ran across the following piece of code (where x is a set or list):

f = lambda x: [[y for j, y in enumerate(x) if (i >> j) & 1] for i in range(2**len(x))]

I was hoping someone could explain to me the following components:

1. 'y for j': after doing some reading, I think I understand the basic principles of * for *, but I still don't think I get exactly what Python is doing.