many module questions

2004-02-01 Thread Christopher Palmer
I'm in a bit of bind here. I started an online intro Perl course, and the current task is to make sure my machine is loaded with the latest versions of DBI.pm, CGI.pm, and the DBD of my choice. The instructor gave the class Windows-centric instructions...so I now have a few

Re: many module questions

2004-02-01 Thread MAC OS X
On 01 Feb 2004, at 01:11, Christopher Palmer wrote: I'm in a bit of bind here. I started an online intro Perl course, and the current task is to make sure my machine is loaded with the latest versions of DBI.pm, CGI.pm, and the DBD of my choice. The instructor gave the class Windows-centric

permission denied during open

2004-02-01 Thread timothy driscoll
greetings, I am testing my fledling Perl knowledge by creating a new file via a cgi script, like this: #! /usr/bin/perl -w use strict; use CGI; use CGIMolv::Error; my $q = new CGI; # Parse_form_data is a sub that parses user input from a Web form. my %query = Parse_form_data() or

Re: many module questions

2004-02-01 Thread Charlie Garrison
Good morning, On 1/2/04 at 8:11 AM -0500, Sherm Pendley [EMAIL PROTECTED] wrote: One thing you'll need to do before installing DBD::mysql is install MySQL itself. The simplest way to do that is via Fink. You'll also need There is now a package/binary download for OSX from the mySQL site. I

Re: permission denied during open

2004-02-01 Thread Andrew M. Langmead
On Feb 1, 2004, at 8:59 AM, timothy driscoll wrote: I thought perl ran as nobody, so giving r/w access to 'nobody' should work. but obviously it doesn't - so what did I do wrong? Perl runs as the user that invokes the script (except for one specific circumstance called setuid, but lets ignore

Re: permission denied during open

2004-02-01 Thread Rick Measham
On 2 Feb 2004, at 12:59 am, timothy driscoll wrote: this fails with an error 'Permission denied' when the target dir 'temp' looks like this: drwxrwxr-x 3 nobodynobody 102 1 Feb 08:44 temp but it works if I make the dir writeable by everyone: drwxrwxrwx 3 nobodynobody 102 1 Feb

Re: permission denied during open

2004-02-01 Thread Rick Measham
OK, I'm a git. I didn't scroll down so I didn't realise this had already been answered half a dozen times. Sorry! On 2 Feb 2004, at 10:32 am, Rick Measham wrote: On 2 Feb 2004, at 12:59 am, timothy driscoll wrote: this fails with an error 'Permission denied' when the target dir 'temp' looks

Image::Magick - Segmentation fault

2004-02-01 Thread kynan
Hi all, I haven't used perl for years but am starting to get into it again since getting Panther. I have apparently managed to get Image:Magick installed (instructions at http://maikimo.net/weblog/archives/2002/12/27/ building_imagemagick_in_mac_os_x_jaguar_with_perl_580.html if anyone's

Re: Setting empty type/creator codes?

2004-02-01 Thread John Gruber
John Gruber [EMAIL PROTECTED] wrote on 1/31/04 at 3:24a: If I do this: MacPerl::SetFileInfo('', '', $f); the type and creator are set to garbage values. I can't figure out a way to do it using the developer tools' SetFile command, nor using AppleScript. The problem is that with all

Re: Image::Magick - Segmentation fault

2004-02-01 Thread robert ackerman
On Feb 1, 2004, at 7:13 PM, kynan wrote: # MAKE A NEW Image::Magick OBJECT my $p = new Image::Magick; # READ IT $p-Read($fullPath/test.jpg); ... can u show us that $fullPath exists, is valid, and doesn't end in a slash?