Broken Mac::Processes ... Help?

| | Comments (0)
If you can, please try this script out, using the latest Mac::Carbon (0.77). Especially on Intel.

#!/usr/bin/perl -w
 
use Mac::Processes;
 
while ( ($psn, $psi) = each(%Process) ) {
    print $psi->processName, ' ' if $psi;
    print "$psn\n";
}

Let me know what platform you are using, and if the script terminates (as opposed to it just printing the same $psn forever (have your ctrl-C ready!)). use.perl.org

Leave a comment

<pudge/*> (pronounced "PudgeGlob") is thousands of posts over many years by Pudge.

"It is the common fate of the indolent to see their rights become a prey to the active. The condition upon which God hath given liberty to man is eternal vigilance; which condition if he break, servitude is at once the consequence of his crime and the punishment of his guilt."

About this Entry

This page contains a single entry by pudge published on April 9, 2007 8:49 AM.

Jackson and Sharpton on Intolerability was the previous entry in this site.

I Am Spider-Man 2 is the next entry in this site.

Find recent content on the main index or look in the archives to find all content.