Re: h2xs newbie

2004-05-16 Thread Randy W. Sims
JupiterHost.Net wrote: Jeff 'japhy' Pinyan wrote: On May 16, JupiterHost.Net said: So the first question is: To create the tar.gz file needed for upload to cpan I simply tar/gz ify the NewModule/ directory, correct? No. h2xs ... Foo::Bar cd Foo/Bar # make the module perl Makefile.PL mak

Re: h2xs newbie

2004-05-16 Thread JupiterHost.Net
Jeff 'japhy' Pinyan wrote: On May 16, JupiterHost.Net said: So the first question is: To create the tar.gz file needed for upload to cpan I simply tar/gz ify the NewModule/ directory, correct? No. h2xs ... Foo::Bar cd Foo/Bar # make the module perl Makefile.PL make tardist Excellent! Th

Re: h2xs newbie

2004-05-16 Thread Jeff 'japhy' Pinyan
On May 16, JupiterHost.Net said: >So the first question is: > To create the tar.gz file needed for upload to cpan I simply tar/gz >ify the NewModule/ directory, correct? No. h2xs ... Foo::Bar cd Foo/Bar # make the module perl Makefile.PL make tardist -- Jeff "japhy" Pinyan [EMA

h2xs newbie

2004-05-16 Thread JupiterHost.Net
Hello, http://mathforum.org/~ken/perl_modules.html#skel has an example for using h2xs to create your base files for a module. So the first question is: To create the tar.gz file needed for upload to cpan I simply tar/gz ify the NewModule/ directory, correct? Secondly: If I was making a module

RE: CGI.pm / Upload File / delete temporary file (CGITemp****)

2004-05-16 Thread Toby Stuart
> -Original Message- > From: Babale Fongo [mailto:[EMAIL PROTECTED] > Sent: Friday, May 14, 2004 10:08 PM > To: [EMAIL PROTECTED] > Subject: CGI.pm / Upload File / delete temporary file (CGITemp) > > > > > > You don't have to bother about deleting it. GCI.pm takes care of that. >

Re: Find closest value

2004-05-16 Thread Mike Blezien
Thx's Rob,... and the others who responded. It gave me some good ideas to persue and I think I have what I was trying to accomplish now. Just need to do some fine tuning :) Appreciate the help as always. MikeBlezien =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Thunder Rain Internet Publishing Providin

Re: Find closest value

2004-05-16 Thread Rob Dixon
Mike Blezien wrote: > > is it possible, with perl, to find the closest numerical value to a set value. > IE. a set value of 15 and I have five values, 208,258,56,123 > > is there a function too go through the five values array to find the closest to > 15 ?? Hi Mike. There's no built-in function,

Re: Find closest value

2004-05-16 Thread Chris Charley
- Original Message - From: "Mike Blezien" <[EMAIL PROTECTED]> Newsgroups: perl.beginners To: "Perl List" <[EMAIL PROTECTED]> Sent: Sunday, May 16, 2004 12:50 PM Subject: Find closest value > Hello, > > is it possible, with perl, to find the closest numerical value to a set value. > IE.

Re: Find closest value

2004-05-16 Thread Randy W. Sims
On 5/16/2004 12:50 PM, Mike Blezien wrote: Hello, is it possible, with perl, to find the closest numerical value to a set value. IE. a set value of 15 and I have five values, 208,258,56,123 is there a function too go through the five values array to find the closest to 15 ?? If it's an unsorted

Find closest value

2004-05-16 Thread Mike Blezien
Hello, is it possible, with perl, to find the closest numerical value to a set value. IE. a set value of 15 and I have five values, 208,258,56,123 is there a function too go through the five values array to find the closest to 15 ?? TIA, -- MikeBlezien =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Th

Re: perl ssh vnc tunnel

2004-05-16 Thread Paul D. Kraus
On Sun, May 16, 2004 at 10:42:11AM -0500, Andrew Gaffney wrote: > Paul D. Kraus wrote: > >I am trying to write a quick script that will establish an ssh tunnel to a > >remote linux server that will let me run vncviewer on any machine behind > >that > >machine. > > > >I have this ... > >system ( "s

Re: perl ssh vnc tunnel

2004-05-16 Thread Andrew Gaffney
Paul D. Kraus wrote: I am trying to write a quick script that will establish an ssh tunnel to a remote linux server that will let me run vncviewer on any machine behind that machine. I have this ... system ( "ssh -g -C -L 5900:machinebehindserver:5900 remotelinuxserver" ); system ( "vncviewer local

perl ssh vnc tunnel

2004-05-16 Thread Paul D. Kraus
I am trying to write a quick script that will establish an ssh tunnel to a remote linux server that will let me run vncviewer on any machine behind that machine. I have this ... system ( "ssh -g -C -L 5900:machinebehindserver:5900 remotelinuxserver" ); system ( "vncviewer localhost" ); of course

Re: removing element of array

2004-05-16 Thread David Storrs
On Fri, May 14, 2004 at 10:35:45PM -0500, Andrew Gaffney wrote: > Charles K. Clarkson wrote: > >Andrew Gaffney <[EMAIL PROTECTED]> wrote: > >: > >: This doesn't quite work because I'm removing elements > >: from the array I'm looping through. What would be the > >: best way to take care of this? >

Re: How to load environment ?

2004-05-16 Thread David Storrs
On Fri, May 14, 2004 at 07:59:40PM -0500, max wrote: [...] > So i use another bash script to load the environment and run the perl script > from one line in the crontab, the content of the load and run script is this: > > ---