Re: LWP or something similar

2003-12-12 Thread $Bill Luebkert
Greg wrote: > After reading an earlier thread regarding LWP::Simple, I played around with it a > little and was able to use it to retrieve .GIF files from my web site. However I > also need to get .EXE files. When attempting $Buffer = get($url); I receive the > .EXE's output not the actual fil

Re: trigonometrics

2003-12-12 Thread Eric Amick
On Wed, 10 Dec 2003 13:32:46 -0800, you wrote: >sub atan_ ($) { atan2($_[0],1) } That may not be such a good idea; it restricts the result to the range -PI/2 to PI/2. -- Eric Amick Columbia, MD ___ ActivePerl mailing list [EMAIL PROTECTED] To unsu

sleep in fork child causes deadlock

2003-12-12 Thread Tran, Wayne
Title: sleep in fork child causes deadlock Hi There: I wonder if there are any solution to this.  I have 5 clients forked and the 6 suppose to release the lock. Don't know why if I have a sleep in the client script, all the client are struck in the semaphore-> wait () deadlock. or process do

Re: LWP or something similar

2003-12-12 Thread Rob Dixon
Basil Daoust wrote: > > Goodness I hope not without logging into the server, because a lot of > security would be going out the window. And likewise with downloading executables! Rob ___ ActivePerl mailing list [EMAIL PROTECTED] To unsubscribe: http:/

RE: LWP or something similar

2003-12-12 Thread Brian Raven
Greg wrote: > > I was considering using perl to create and automated software > update utility. You know, click one button and update all my > clients software. :) I was hoping to avoid using ftp as many > of these sites do not have ftp's port open in the firewall. I > used pcAnywhere to get th

Re: LWP or something similar

2003-12-12 Thread Basil Daoust
Goodness I hope not without logging into the server, because a lot of security would be going out the window. Basil Daoust Automation Services Greg <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 12/12/2003 11:15 AM                 To:        [EMAIL PROTECTED]         cc:                 Su

Re: LWP or something similar

2003-12-12 Thread Rob Dixon
Greg wrote: > > > Rob Dixon wrote: > > > > > Greg wrote: > > > > > >>After reading an earlier thread regarding LWP::Simple, I > > >>played around with it a little and was able to use it to > > >>retrieve .GIF files from my web site. However I also need to > > >>get .EXE files. When attempting $

Re: LWP or something similar

2003-12-12 Thread Greg
I was considering using perl to create and automated software update utility. You know, click one button and update all my clients software. :) I was hoping to avoid using ftp as many of these sites do not have ftp's port open in the firewall. I used pcAnywhere to get them there in the first place

Re: LWP or something similar

2003-12-12 Thread Rob Dixon
Greg wrote: > > After reading an earlier thread regarding LWP::Simple, I > played around with it a little and was able to use it to > retrieve .GIF files from my web site. However I also need to > get .EXE files. When attempting $Buffer = get($url); I > receive the .EXE's output not the actual fil

LWP or something similar

2003-12-12 Thread Greg
After reading an earlier thread regarding LWP::Simple, I played around with it a little and was able to use it to retrieve .GIF files from my web site. However I also need to get .EXE files. When attempting $Buffer = get($url); I receive the .EXE's output not the actual file. I understand why but

RE: 64 or 32 bits pltaform ?

2003-12-12 Thread Brian Raven
Thomas Drugeon wrote: > > Hi, > > Is there a way to know if the Perl interpreter running the script was > compiled for 64 bits? I want to use 'vec' with a number of bits of > 64, but it would > fail on 32bits > platforms, and so I would switch to 32 in this case. > > I could try to eval a 've

RE: 64 or 32 bits pltaform ?

2003-12-12 Thread Brian Raven
Thomas Drugeon wrote: > > Hi, > > Is there a way to know if the Perl interpreter running the script was > compiled for 64 bits? I want to use 'vec' with a number of bits of > 64, but it would > fail on 32bits > platforms, and so I would switch to 32 in this case. > > I could try to eval a 've

Re: 64 or 32 bits pltaform ?

2003-12-12 Thread intertwingled
use integer; then try some integer math and see how big you can make your integers before they go negative. =) Tony Thomas Drugeon wrote: Hi, Is there a way to know if the Perl interpreter running the script was compiled for 64 bits? I want to use 'vec' with a number of bits of 64, but it wo