perl.macosx
  Home FAQ Contact Sign in
perl.macosx only
 
Advanced search
May 2008
motuwethfrsasuw
   1234 18
567891011 19
12131415161718 20
19202122232425 21
262728293031  22
2008
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007 2006  
total
perl.macosx Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  ActivePerl 5.10.0 Build 1003 released         


Author: Jan Dubois
Date: May 16, 2008 15:59

ActiveState is pleased to announce ActivePerl 5.10.0 Build 1003, a
complete, ready-to-install Perl distribution for Windows, Mac OS X,
Linux, Solaris, and AIX.

This build is based on the release version of Perl 5.10.0.

For detailed information or to download this release, see:

http://www.activestate.com/Products/activeperl

New in ActivePerl 5.10.0 Build 1003
===================================

* ActivePerl::Config on Windows now dynamically sets the
$Config{ccversion} to the version of cl.exe. This allows
ExtUtils::MakeMaker to generate and embed manifest files
into extension DLL when required by the specific version of
the C compiler.

* The GCC support for Windows in ActivePerl::Config now adds the
-mms- bitfields option to the ccflags when compiling with GCC.
This forces identical struct layouts with Visual C++, which is
used to compile ActivePerl itself. This has become important
because core Perl 5.10 now uses bit-fields for some important
structures.
Show full article (5.32Kb)
no comments
  Leopard, Apache and CGI Uploads         


Author: bryandaimler
Date: Apr 24, 2008 13:59

I have a Perl file upload script I'd been using for years under Apache 1 in Tiger. I haven't
modified it in ages. No mod_perl, just CGI.pm and the default Perl installation. It's always worked
fine for files of any size (some as many as a gigabyte and taking more than an hour to upload), but
since upgrading to Leopard, with its Apache2 nonsense, the script fails on large files -- anything
over a megabyte -- with this being output to the browser:

"CGI.pm: Server closed socket during multipart read (client aborted?).".

This is the only error message logged, too. I've tested this with multiple clients on different
operating systems and it's the same every time, unless the file's smaller than 1MB, in which case
the script executes as it should. I added a debugging line to the upload hook that runs when I first
create my CGI query object, and it reports the bytes increasing up to a point, after which it keeps
logging these messages but the number of bytes stays static. It's never the exact same number but
the files always seem to fail above 1 megabyte, with about 1.4 being the upper limit I've seen so far.

Any ideas? Thanks
3 Comments
  Re: Installing ImageMagick - how to guide         


Author: Celeste Suliin Burris
Date: Apr 15, 2008 23:03

Very helpful - I need the Intel hint.

Couple of quibbles - you should use "make check", not "make test".

On Ghostscript, you can just use '--disable-cups' in the ./configure command
- much to be preferred over Makefile editing.
> From: Peter N Lewis stairways.com.au>
> Date: Tue, 15 Apr 2008 21:09:32 +0800
> To: perl.org>
> Subject: Installing ImageMagick - how to guide
>
> I've fought ImageMagick install a few...
Show full article (2.89Kb)
no comments
  Using macports to install 5.10         


Author: Robert Hicks
Date: Apr 1, 2008 16:12

Just wondering if anyone actually does it...

Robert
1 Comment
  mod_perl2 under Leopard         


Author: Robert Hicks
Date: Mar 30, 2008 17:10

Are there good directions on getting mp2 compiled and installed with
Apache2.2 on Leopard?

Robert
no comments
  How do you make a bundle from CPAN?         


Author: Michael Barto
Date: Mar 19, 2008 15:44

I have developed a Perl module in MacOSX using Arhive::Zip. This library
seems to be installed
in the Perl version on the Mac (Perl v5.8.8). In porting this program to a
Linux machine running Perl v5.8.5, Archive::Zip is missing. I do not
want to
install in this current Perl library by using CPAN. What I would like to
do is define my own library
and use "#!/usr/bin/perl -I " name.

I have download all the modules from CPAN I need:

Archive-Zip
Compress-Raw-Zlib
Compress-Zlib
IO-Compress-Base
IO-Compress-Zlib
Show full article (1.29Kb)
3 Comments
  PerlObjCBridge and selectors         


Author: Pedro Melo
Date: Mar 12, 2008 03:24

Hi,

I'm trying to tap into the NSDistributedNotificationCenter with Perl.

The simplest script that almost works is this:

#### START
package Listener;
use strict;
use Foundation;

sub start {
my ($class) = @_;
my $self = bless {}, $class;

my $center = NSDistributedNotificationCenter->defaultCenter;
$center->addObserver_selector_name_object_($self, 'updated',
"org.simplicidade.guy.whatsup", undef);
NSRunLoop->currentRunLoop->run;
}

sub updated {}

package main;
use strict;

Listener->start;
Show full article (1.56Kb)
1 Comment
  Re: Mac OS alias from Perl         


Author: Chris Nandor
Date: Mar 11, 2008 22:58

In article 203.8.112.3]>,
peter@stairways.com.au (Peter N Lewis) wrote:
Show full article (1.23Kb)
no comments
  perl and apple mail?         


Author: Joel Rees
Date: Mar 10, 2008 04:24

Are any of you using perl plugins with apple's mail browser?

What I'm thinking of is something along the lines of supplementing
the overly-simple rules in apple mail with some perl re. Things like
funneling all the broken header junk off the top and into one folder,
catching the real sharpos that like to put my mail address in the
return address of the junk mail and putting that in a separate
folder, that kind of stuff.

I'm sure it could be done with the scripting api, but I'm always all
thumbs with applescript.

I've been looking around the web, and there are tantalizing clues,
but not enough for a lame-brain like myself to grab hold of.

If anyone is doing something like this, can you hit me with a cluestick?

Joel Rees
(waiting for a 3+GHz ARM processor to come out,
to test Steve's willingness to switch again.)
1 Comment
  How to run Perl script at Mac OS (Darwin) Release?         


Author: Gary Yang
Date: Mar 7, 2008 10:35

Hi,

Below is my Perl script. The script named, test1.pl

test1.pl

#!/usr/local/ActivePerl-5.10/bin/perl -w

print "$^O\n";

I have to type, "perl test1.pl" in order to run it. I got command not found if I simply typed test1.pl. Can someone tell me why and how to fix it?

test1.pl
-bash: test1.pl: command not found

Thanks

Gary

---------------------------------
Never miss a thing. Make Yahoo your homepage.
7 Comments
 
1 2 3 4 5 6 7 8 9