Getting ImageMagick/PerlMagick to work

2002-04-12 Thread Peter N Lewis
Hi all, I finally got ImageMagick to install and work for me, perhaps this will help someone else... I think pert of the problem might be that I have perl 5.6.1 installed. Anyway, I eventually got it to install by using fink, but then it failed because it wanted _ParseGeometry, which I think

About testing cgi at command line

2002-04-12 Thread drieux
volks, when I run perl Skank.pl on the command line on my solaris and/or unix boxes it takes the default path through the code and dumps out what the html would be - but when I run the same code on my OSX box it dumps out a weird case: [jeeves:/tmp/drieux/perl] drieux% perl Crap.pl (of

Re: About testing cgi at command line

2002-04-12 Thread Bruce Van Allen
At 10:35 AM -0700 4/12/02, drieux wrote: >volks, > >when I run > > perl Skank.pl > >on the command line on my solaris and/or unix boxes it takes >the default path through the code and dumps out what the html >would be - but when I run the same code on my OSX box it dumps >out a weird case: >

Re: About testing cgi at command line

2002-04-12 Thread Alex S
Just press Control-D to skip that. I believe there's a way to disable the prompting. Often this feature of CGI.pm is a good thing, as it allows you to simulate submitting form variables, without having to tweak your code for the command-line test cases. I've never been clear as to what toggl

Re: About testing cgi at command line

2002-04-12 Thread Bill Stephenson
on 4/12/02 12:35 PM, drieux at [EMAIL PROTECTED] wrote: > is this a feature or a bug? I think it's a CGI.pm thing. It allows for testing with something like: perl Skank.pl (offline mode: enter name=value pairs on standard input) name=me color=red end it with a control-D and the script uses

Re: About testing cgi at command line

2002-04-12 Thread Bill Stephenson
on 4/12/02 12:59 PM, Alex S at [EMAIL PROTECTED] wrote: > I believe there's a way to disable > the prompting. The book says to pass empty parameters. Something like perl Skank.pl '' -- Bill Stephenson www.PerlHelp.com 1-417-546-5593

Re: About testing cgi at command line

2002-04-12 Thread Timothy A. Canon
Use the -no_debug pragma: use CGI qw( -no_debug ); For more info, check out: Regards, Tim Canon [EMAIL PROTECTED] on 2002.04.12 12:35, drieux at [EMAIL PROTECTED] wrote: > > volks, > > when I run > > perl Skank.pl > > on the command line

Re: About testing cgi at command line

2002-04-12 Thread Rick Frankel
On Fri, Apr 12, 2002 at 10:59:19AM -0700, Alex S wrote: > Just press Control-D to skip that. I believe there's a way to disable > I've never been clear as to what toggles this to be on or off, but I'm > guessing it's some flag in CGI.pm. It's related to the installed version of CGI.pm, from t

Re: About testing cgi at command line

2002-04-12 Thread drieux
On Friday, April 12, 2002, at 11:27 , Timothy A. Canon wrote: > Use the -no_debug pragma: > > use CGI qw( -no_debug ); > > For more info, check out: > > #- > On Friday, April 12, 2002, at 11:25 , Bill Stephenson wrote: > >> on 4/12/02 12:

Upgrade to cgi 2.57 or beyond?

2002-04-12 Thread drieux
On Friday, April 12, 2002, at 11:29 , Rick Frankel wrote: [..] > It's related to the installed version of CGI.pm, from the changelog: > > Version 2.57 > > 1. Added -debug pragma and turned off auto reading of STDIN. is the issue. Just found out that the webServer and the OSX

cflags / lsflags

2002-04-12 Thread William H. Magill
This should be something that somebody has already done Does any body have a perl script that does "lsflags" -- the inverse of cflags? [I want to be able to display the values for both mode and flags for any given file. Preferrably in symbolic form rather than strickly numeric chmod form.]

Re: About testing cgi at command line

2002-04-12 Thread ashley
i'm sorry if someone else already sent this. use CGI qw(:standard -no_debug); that will prevent the prompt. On Friday, April 12, 2002, at 11:25 , Bill Stephenson wrote: > on 4/12/02 12:59 PM, Alex S at [EMAIL PROTECTED] wrote: > >> I believe there's a way to disable >> the prompting. > > The b

Re: Upgrade to cgi 2.57 or beyond?

2002-04-12 Thread Rick Frankel
On Fri, Apr 12, 2002 at 11:41:53AM -0700, drieux wrote: > > Just found out that the webServer and the OSX box are running 2.56 > while my linux and solaris boxes I thwacked over to 2.752 > > so should I just pull the source over and do the > > make *.PL > make > make test

Re: Getting ImageMagick/PerlMagick to work

2002-04-12 Thread Ken Williams
On Friday, April 12, 2002, at 07:07 PM, Peter N Lewis wrote: > Anyway, I eventually got it to install by using fink, but then > it failed because it wanted _ParseGeometry, which I think is > some sort of X windows thing, so I rebuilt it using: > > fink fetch imagemagic > > edit > /sw/fink/dist

Re: My OS X Adventures

2002-04-12 Thread Ken Williams
On Friday, April 12, 2002, at 02:15 PM, David Wheeler wrote: > Thanks to the hard work of those who have gone before me, I've > managed to > get all the Perl-oriented tools I need working under Mac OS X. I was > spending a lot of effort on documenting what I needed to do, so > I went the > extr