Re: copying an array

2001-05-19 Thread Aaron Craig
As long as we're on the topic, what's the story on efficiency between using an array and an array ref. Ex: sub PassAnEntireArray(@) { my(@array) = @_; ...do some stuff... } sub PassAnArrayRef($) { my($ar) = @_; ... do some stuff...

GIF error

2001-05-19 Thread John Bollinger
I wrote a cgi script in perl that successfully calls a program which returns a gif image, but the image is not returned to the browser, rather it ends up in script_log and a I get a broken image place holder in the browser?! Any clues? --jab = John Bollinger, CFA, CMT www.BollingerBand

Re: GIF error

2001-05-19 Thread Aaron Craig
Could we have a look at the code? At 05:52 19.05.2001 -0700, you wrote: >I wrote a cgi script in perl that successfully calls a program which >returns a gif image, but the image is not returned to the browser, >rather it ends up in script_log and a I get a broken image place >holder in the browse

Re: GIF error

2001-05-19 Thread John Bollinger
--- Aaron Craig <[EMAIL PROTECTED]> wrote: > Could we have a look at the code? > > At 05:52 19.05.2001 -0700, you wrote: Sure, it is attached. --jab = John Bollinger, CFA, CMT www.BollingerBands.com __ Do You Yahoo!? Yahoo! Auctions

Re: GIF error

2001-05-19 Thread Aaron Craig
At 05:52 19.05.2001 -0700, you wrote: >I wrote a cgi script in perl that successfully calls a program which >returns a gif image, but the image is not returned to the browser, >rather it ends up in script_log and a I get a broken image place >holder in the browser?! > >Any clues? > > --jab

Re: GIF error

2001-05-19 Thread John Bollinger
> Though it doesn't have anything to do with your problem, I highly > recommend > using 'strict' -- it keeps silly typo errors for popping up, among > other > things. ReadParse fails if i use strict, :(, so I can't use it. > >require("./cgi-lib.pl") || die "can't locate cgi-lib.pl"; > >requir

Re: ftp

2001-05-19 Thread Matt Cauthorn
I've got Net::ftp on my win2k machine, and have used it many many times without issue. I recall just grabbing the Bundle::LWP ppm and it did the rest. I'm certain that this module should install into active state perl without grief. Good luck. http://aspn.activestate.com/ASPN/Products/ActivePerl/

Re: GIF error

2001-05-19 Thread Jos I Boumans
Some comments to help you on your way: > ReadParse fails if i use strict, :(, so I can't use it. No, that means you need to edit your code, or that you say 'no strict refs' or so, in case you REALLY REALLY need that > No duped functions so I am ok here. Aaron still has a point tho! > gifChart s

Re: GIF error

2001-05-19 Thread John Bollinger
--- Jos I Boumans <[EMAIL PROTECTED]> wrote: > or so, in case you REALLY REALLY need that Be that as it may, this section of the code works fine. > > No duped functions so I am ok here. > Aaron still has a point tho! Perhaps, but it does what it is supposed to. > > gifChart simply returns a g

Yet another @INC question...

2001-05-19 Thread Matt Cauthorn
This one has me puzzled. I installed Term::Readkey. Totally standard, all tests passed. Here's what I get when I try and run my script (OS is Solaris 8): Can't locate Term/Readkey.pm in @INC (@INC contains: /usr/local/lib/perl5/5.6.0/sun4-solaris /usr/local/lib/perl5/5.6.0 /usr/local/lib/perl5/si

Re: Looking for a good Linux-Editor

2001-05-19 Thread Dwight Lemaire
Hi, First , don't get hung up on KDE ... try GNOME desktop ... There are over 15 editors available, emacs will do what you need ... regards SunDog At 11:19 AM 5/18/01 +0200, you wrote: >Hallo, > >I'm using KDE and am looking for an Ed

Re: Yet another @INC question...Disregard

2001-05-19 Thread Matt Cauthorn
Please Disregard my earlier post...it's TermReadKey, not Term::Readkey. Oops. Works as you would expect now. Sorry! Matt C. --- Matt Cauthorn <[EMAIL PROTECTED]> wrote: > This one has me puzzled. I installed Term::Readkey. Totally standard, all tests > passed. Here's what I get when I try and r