Re: string to float and int

2000-12-06 Thread Sisyphus
Hi, Maybe I don't understand it, too. Isn't what you want achieved by deleting the double quotes ? So it reads: $formula = $data_a[$i] + $data_b[$i]; Cheers, Rob Visit our website at http://www.kalinabears.com.au - Original Message - From: $Bill Luebkert [EMAIL PROTECTED] To: Rivera,

Socket connections

2000-12-03 Thread Sisyphus
Hi, I would be most grateful if some of you could take the time to visit http://robgil.hypermart.net/hypsoc.html , fill in the form, and check that it works for you as it works for me (and let me know). For me: If I put www.kalinabears.com.au as the host and select '13 DAYTIME v' as the port it

Re: [OT] autentification

2001-01-27 Thread Sisyphus
Hi Nikola, If you're talking about the situation where a pop-up box appears requesting username and password, this is usually nothing to do with perl or any other cgi script - try looking for some info on '.htaccess' ( I haven't got any good links on that, off hand). The situation where you are

Re: Problems with instalation of XML::Parser 2.30

2001-02-04 Thread Sisyphus
Hi Nikola, From Indigostar's home page: Quote Installing CPAN modules requires that you have Microsoft DevStudio or nmake.exe installed. If you are installing modules that contain xs files, then you need DevStudio, otherwise you only need nmake.exe. End Quote. XML::Parser contains an xs file.

nmake was Re: modules compilation problem: missing separator????

2001-02-04 Thread Sisyphus
Hi, There's probably a later version of nmake than the one my link downloads :-) Stuffed if I can find it, however. Anyone? Cheers, Rob Visit our website at http://www.kalinabears.com.au ___ Perl-Win32-Users mailing list [EMAIL PROTECTED]

Re: Sending Mail

2001-02-12 Thread Sisyphus
Hi Ted, Do they have a members newsgroup ? That might be the quickest way to find the answer. Are you required to open a pipe to their mail sending program ? If so, does that 'open' call have the 'or die "$!";' option ? I would expect that all info you require (including the name of their smtp

Re: Path in autoexec.bat

2001-02-13 Thread Sisyphus
the 'SET PATH' setting ? DOS 3.3 ? I've got 4.something. ( I believe they are both fully documented in the 'Dead Sea Scrolls'. ) Cheers, Rob Visit our website at http://www.kalinabears.com.au - Original Message - From: Will W [EMAIL PROTECTED] To: Sisyphus [EMAIL PROTECTED]; [EMAIL PROTECTED

Re: still stuck trying to listen to port.

2001-02-19 Thread Sisyphus
Hi, Haven't actually worked with UDP - I had enough trouble printing what was sent to a TCP connection. Based on what I had to do for that exercise I suggest trying the following. '$len' is a number = the length of the message received (in bytes) and $flags='' (2 single quotes, ie void) $remote

Re: View output of 'ppm install' command

2001-02-19 Thread Sisyphus
John Cope wrote Try using "perl -S ppm.bat install --location=repository.url PackageName ppm.log" I tried using that - it runs quickly and produces no out put. Perhaps I misunderstand what is required here. I can get it to run as normal if I put: perl -S ppm.bat install

Re: Net::FTP in the freestanding executable

2001-02-23 Thread Sisyphus
- Original Message - From: Greg Wardawy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, February 24, 2001 6:57 AM Subject: Net::FTP in the freestanding executable Hello all, Net::FTP works fine with my script but nothing is transferred if I use a freestanding exe built using

Building AP 623 from source

2001-03-08 Thread Sisyphus
Hi, I'm attempting to build AP 623 from source on Windows 98 (cmd.exe) with nmake and VC++ 6.0 - don't ask me why - I forget the exact answer. It's something to do with the reason that climbers climb mountains. The output from running 'nmake' is attached, for all those who would like to view it.

Re: Compiling modules for Win32

2001-03-08 Thread Sisyphus
- Original Message - From: Franois LETELLIER [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, March 08, 2001 9:07 PM Subject: Compiling modules for Win32 Good morning everybody. I've been using Perl for a couple of years now. I've

Re: Using splice on a matrix

2001-03-13 Thread Sisyphus
- Original Message - From: Moulder, Glen [EMAIL PROTECTED] To: 'perl-win32-users' [EMAIL PROTECTED] Sent: Wednesday, March 14, 2001 7:46 AM Subject: Q: Using splice on a matrix Good day perlfolk, I often work with data matrices (lists of lists) in my scripts. A simple example is:

Re: Term::ANSIColor

2001-03-17 Thread Sisyphus
- Original Message - From: Greg Wardawy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, March 18, 2001 5:42 AM Subject: Re: Term::ANSIColor "Ron Grabowski" [EMAIL PROTECTED] 03/17/01 11:46AM ?[1;34mThis text is bold blue. ?[0mThis text is normal. ?[33;45mYellow on magenta.

Re: Term::ANSIColor

2001-03-17 Thread Sisyphus
- Original Message - From: Greg Wardawy [EMAIL PROTECTED] How are you loading ansi.sys in config.sys? It was long time since I used win 95 and maybe I'm missing something. Greg ___ Greg, I opened 'config.sys' and added the following line

Re: Term::ANSIColor under Windows 2000

2001-03-20 Thread Sisyphus
Visit our website at http://www.kalinabears.com.au - Original Message - From: Greg Wardawy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 20, 2001 1:13 AM Subject: Term::ANSIColor under Windows 2000 Hello, Does anyone know how to use Term::ANSIColor under Windows 2000

Re: encryption module that works on NT

2001-03-23 Thread Sisyphus
- Original Message - From: Greg Wilson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 21, 2001 2:43 PM Subject: encryption module that works on NT Hi, I am looking for a module that is able to be installed on Windows NT platform. I have tried CBC with

Re: Where to get 'cmd.exe' for Win98 SE?

2001-03-26 Thread Sisyphus
- Original Message - From: Peter Straub [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 26, 2001 7:37 PM Subject: Where to get 'cmd.exe' for Win98 SE? Hi Perlers, as i am forced to use Perl on a Win98 SE machine (no more NT :-( ) i suffer from the well known

Re: OT: Makefile out of date

2001-03-26 Thread Sisyphus
Hi Nikola and Joe, The problem has now vanished as mysteriously as it arose - and I might not have a chance to find out about it until daylight saving returns. Assuming that was not a coincidence. Running 'perl makefile.pl' proceeded as normal, but the gist of the error message from nmake was:

Re: Linker Error when building XS Hello World example on Win32

2001-03-28 Thread Sisyphus
- Original Message - From: Bill Catlan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 28, 2001 11:31 PM Subject: Linker Error when building XS "Hello World" example on Win32 Hello Everyone, I am attempting build a Perl extension to part of the openssl library. But,

Re: Scan help

2001-04-16 Thread Sisyphus
- Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, April 17, 2001 6:22 AM Subject: Scan help I have a variable that contains "\rmcnt\public", I want to change it to "rmcnt\\public rmcnt\\public " Hi Bill, #!perl -w $var =

Re: problem with IO::Socket and UDP

2001-04-28 Thread Sisyphus
Hi, I do have a good book on TCP/IP. Problem is, no Perl samples to follow. Its like trying to learn Perl from a Pascal book. Er can anyone provide me with a sample of simple UDP socket scripts as a receiver/server and a sender/client? Thanks. Jaime Hi, I put a number of

Re: newbie IO::Socket question

2001-04-28 Thread Sisyphus
- Original Message - From: Peter Eisengrein [EMAIL PROTECTED] To: Perl-Win32-Users Mailing List (E-mail) [EMAIL PROTECTED] Sent: Friday, April 27, 2001 10:46 PM Subject: RE: newbie IO::Socket question Your server would run through that code each time it received a message, then sit

Re: MIME::Base64 nmake install problems

2001-05-06 Thread Sisyphus
- Original Message - From: Jeremy Aiyadurai [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, May 06, 2001 2:08 PM Subject: MIME::Base64 nmake install problems Hello all, thank you for your help in the past I want to use www.Jeb.ca's win32::gui::bitmapinline module, but it

Re: Update required to Statistics::Distributions

2001-05-14 Thread Sisyphus
- Original Message - From: simon andrews (BI) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, May 14, 2001 5:42 PM Subject: Update required to Statistics::Distributions A project I've been working on this week has revealed that the version of Statistics::Distributions available

Re: Math::TrulyRandom

2001-05-21 Thread Sisyphus
- Original Message - From: Lee Goddard [EMAIL PROTECTED] To: Perl_Users [EMAIL PROTECTED] Sent: Monday, May 21, 2001 8:15 PM Subject: Math::TrulyRandom Has anyone got Math::TrulyRandom to compile with Visual Studio? TIA lee I tried putting a couple of versions of 'time.h' into

Re: INSTALL: Can't locate PPM.pm in @INC

2001-05-24 Thread Sisyphus
- Original Message - From: Pietrobon Marcello [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, May 25, 2001 12:35 PM Subject: Re: INSTALL: Can't locate PPM.pm in @INC I compared my installation of perl with an old one (perl5 revision 5 version 6 subversion 0) in another computer

Space used

2001-05-25 Thread Sisyphus
Hi, Using perl on Win32, how does one find the amount of space used by a directory ( as opposed to the size of the directory ) ? This question was asked recently and I've seen no response to it. It can, of course, be calculated using the cluster size and file size, but I feel that windows already

Re: Please explain this error message...

2001-05-25 Thread Sisyphus
- Original Message - From: Brian Shields [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, May 25, 2001 5:01 PM Subject: Please explain this error message... I am getting the following error message: Scalar found where operator expected at

Re: Libnet (Net::ftp)

2001-05-28 Thread Sisyphus
- Original Message - From: Tym Rehm [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, May 17, 2001 7:17 AM Subject: Libnet (Net::ftp) I'm looking for libnet for Win32. I know where to get it for Linux, but not Windows. Could someone please point me in the correct direction.

Re: Space used

2001-05-28 Thread Sisyphus
- Original Message - From: Edward G. Orton [EMAIL PROTECTED] To: Sisyphus [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Saturday, May 26, 2001 3:30 AM Subject: Re: Space used As far as I am aware, Windows does NOT maintain this information. It collects it when the directory is opened

Re: perl output from cron jobs mixing stdout and stderr

2001-06-03 Thread Sisyphus
- Original Message - From: Bennett Haselton [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, June 03, 2001 6:23 PM Subject: RE: perl output from cron jobs mixing stdout and stderr Anybody have any ideas on how to fix this? I'm growing increasingly desperate as the logs

Re: Question about how Win32::Process works

2001-06-08 Thread Sisyphus
- Original Message - From: Satish Vadlamani [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 08, 2001 4:46 PM Subject: Question about how Win32::Process works Hi: 1) I want to know how Win32:Process works. 2)I am able to do what I want to do with the following program.

Re: Use of System Command confusion

2001-06-11 Thread Sisyphus
- Original Message - From: Finnimore, Roland (R.) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 12, 2001 1:15 AM Subject: Use of System Command confusion I am currently trying to execute a system command and want to wait for that command to complete before continuing. I

Re: Strange Question? Is compiler fault?

2001-06-14 Thread Sisyphus
- Original Message - From: cloud [EMAIL PROTECTED] To: Paul G. Weiss [EMAIL PROTECTED] Cc: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Sent: Friday, June 15, 2001 1:59 PM Subject: Re: Strange Question? Is compiler fault? although $i = $i run before $i++, But the increment should be work,

Re: Find and replace

2001-06-15 Thread Sisyphus
- Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 14, 2001 10:35 AM Subject: Find and replace Hi Please help!!! I have spent hours doing this I am new... I want to do the following I read every line of the data that is passed to the

Re: how to list perl modules!!

2001-06-15 Thread Sisyphus
- Original Message - From: Siva Namburi [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 12, 2001 5:28 AM Subject: how to list perl modules!! Hi, I was trying to list all the perl modules that are installed on my machine (w.r.t a particular build). It is a freeBSD

Re: ISP Can't locate loadable object....

2001-06-20 Thread Sisyphus
- Original Message - From: Lee Goddard [EMAIL PROTECTED] To: Perl Users [EMAIL PROTECTED] Sent: Wednesday, June 20, 2001 11:30 PM Subject: ISP Can't locate loadable object I'm working on an ISP who won't upgrade Perl to the current version, and I need the current version. I've

Re: Question about how Win32::Process works

2001-06-20 Thread Sisyphus
- Original Message - From: Saxena, Saurabh [EMAIL PROTECTED] To: 'Sisyphus' [EMAIL PROTECTED]; Satish Vadlamani [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, June 20, 2001 11:29 PM Subject: RE: Question about how Win32::Process works Hi Is it possible to use the Win32

Re: Installing IO::Tty

2001-06-22 Thread Sisyphus
On the other hand, if Pty/Tty is so unixy that it can't run under Windows, why would anyone have gone to the trouble of creating a PPM for Expect? It's there for the people who are running linux. (IO-Tty is also there for the same people.) Not much use to those of us who are running

Re: Install module?

2001-06-23 Thread Sisyphus
- Original Message - From: Ivan Berg [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, June 23, 2001 8:27 AM Subject: Install module? Hi Everybody, I have problem with installing module from ActivState/Package TableMatrix0.5. I work under WinME - Perl 5.005_03

Re: Install module?

2001-06-23 Thread Sisyphus
And I have second OS on my PC, this is Win2k , ActivePerl-5.6.1.626-MSWin32 -x86-multi-thread. I finds module Tk800.023.tar on CD and should like to install it with use MVC++6.0Standard Edition(nmake), but is problem again. Command - c:\perl makefile.pl is executed correct, but command-

solved ? Re: Install module?

2001-06-23 Thread Sisyphus
Out of curiosity I downloaded Tk-800.023 from cpan and tried compiling it. I get the same unresolved external symbol (on same platform). Tk-800.022, however, compiles fine, though you could just as easily grab the binary for it (and Tk::TableMatrix) from AS. A Tk mailing list (if such

Re: Problem with filetest -x _ on Win2k AS Perl build 626

2001-06-25 Thread Sisyphus
- Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, June 25, 2001 5:36 PM Subject: Problem with filetest -x _ on Win2k AS Perl build 626 I was running Pod::Find::pod_find to list pod-containing files in C:/perl/bin

Re: Problems reading Excel date format

2001-06-25 Thread Sisyphus
- Original Message - From: rotaiv [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 26, 2001 1:48 AM Subject: Re: Problems reading Excel date format At 06/25/2001 11:08 AM, Sisyphus wrote: It's a scalar reference. Assuming this is the value held by $cell, to dereference

Re: module installs 0 length files

2001-06-25 Thread Sisyphus
Hi Robert, I'm having some problems installing Tk.pm on a Windows 2K machine using Perl 626 ppm installs all the files but they are all zero length. Any Ideas how to get around this? I've tried downloading the zip file and doing a local ppm but it still fails.

Re: Using Perl modules without installing them

2001-06-25 Thread Sisyphus
Hi! I tried this one and worked just fine in my PC. But when I ru it on the remote server (my hosting provider server) it does not return anything. Just script produced no output . Like it didn't know where GD.pm is located. My perl version is 5.006 and the remote server version is

Re: Error when installing Date-Calc-4.3.tar.gz . . . . .

2001-06-26 Thread Sisyphus
- Original Message - From: Alloun, Jonathan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 26, 2001 7:55 PM Subject: Re: Error when installing Date-Calc-4.3.tar.gz . . . . . Hello, I have tried to install this module from CPAN following these steps: Unziped the

Re: Error when installing Date-Calc-4.3.tar.gz . . . . .

2001-06-26 Thread Sisyphus
- Original Message - From: Alloun, Jonathan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 26, 2001 7:40 PM Subject: Re: Error when installing Date-Calc-4.3.tar.gz . . . . . ** This email and any files

Re: Is UNC not supported with Win32::Process::Create?

2001-06-26 Thread Sisyphus
Hi, With Win32::Process::Create...(and CREATE_NEW_CONSOLE flag) this works = u:\\mydir\\test.exe but this does not = myserver\\mydir\test.exe Best to add error catching code to the 'Win32::Process::Create' call. Something like : or die ErrorReport(); where sub ErrorReport is defined

Email Address: RE:cgi-app with binairy output

2001-06-27 Thread Sisyphus
Hi, j.meijers@geos Is that a valid address ? Both outlook express and my mail server reckon it's not. I'm thinking they're right. Cheers, Rob ___ Perl-Win32-Users mailing list [EMAIL PROTECTED]

Re: Problems reading Excel date format

2001-06-26 Thread Sisyphus
- Original Message - From: Carl Jolley [EMAIL PROTECTED] To: Sisyphus [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; rotaiv [EMAIL PROTECTED] Sent: Wednesday, June 27, 2001 3:27 AM Subject: Re: Problems reading Excel date format On Tue, 26 Jun 2001, Sisyphus wrote: - Original

Re: Jenda's FileOps

2001-11-18 Thread Sisyphus
- Original Message - From: Satelle, StevenX [EMAIL PROTECTED] To: Perl Users Win32 (E-mail) [EMAIL PROTECTED] Sent: Sunday, November 18, 2001 4:17 AM Subject: Jenda's FileOps Does anyone know what happened to http://Jenda.Krynicky.cz/perl http://Jenda.Krynicky.cz/perl/ or where I

Re: pushing on a referenced @

2001-11-18 Thread Sisyphus
- Original Message - From: gOdot [EMAIL PROTECTED] I can't use push $@test. push @$test Cheers, Rob ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users

Re: PPM Install Problem on Standalone box?

2001-09-27 Thread Sisyphus
- Original Message - From: Mark Riehl [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, September 28, 2001 1:00 AM Subject: PPM Install Problem on Standalone box? All - I've got ActiveState 5.6.1 on a Win2k box w/o Internet access. I downloaded the Statistics-Descriptive ppd

OT: Virus

2001-11-28 Thread Sisyphus
Hi, Yeah, as noted on this list, I''ve been caught a couple of times lately by virus attachments that open without being opened. ( The first was Nimda, which, afaik, did not get the chance to spread from this box.) I believe they utilise a hole in the relationship between

Re: OT: Virus

2001-11-28 Thread Sisyphus
- Original Message - From: Marracci, Peter E The Badtrans.B variant is executed when a user opens an infected e-mail, and does not require a user to click on an attachment Yes - this is where a major part of the problem lies. How does one configure the system so that attachments

Re: Nmake ppd yields fatal error u1077

2001-11-30 Thread Sisyphus
- Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, November 30, 2001 3:53 PM Subject: Nmake ppd yields fatal error u1077 When I try to do the last step (nmake ppd) I get the following: Microsoft (R) Program Maintenance Utility Version 6.00.8168.0

Re: PPM::InstalledPackageProperties() dereferencing hashes

2001-12-18 Thread Sisyphus
- Original Message - From: Capacio, Paula J [EMAIL PROTECTED] I guess I just don't understand references after all, can anybody spot what I'm doing wrong? TIA Paula Rather than do that, I'll just post some code that works for me. ( It's easier :-) A couple of curiosities about my

Re: nmake install problem

2001-12-20 Thread Sisyphus
- Original Message - From: Wang, Pin-Chieh [EMAIL PROTECTED] I could not find the file README.machten anywhere in my system, don't know what it is for. But it should not stop the build process. Any ideal to get around this problem? will be appreciated PC 'README.machten' should

Re: Perl for Data Acquisition...

2001-12-28 Thread Sisyphus
- Original Message - From: Bob Hoffmaster [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, December 28, 2001 9:21 AM Subject: Perl for Data Acquisition... I need to implement a simple Perl data acquisition application. Any suggestions or recomendations for some already existing

Re: C with Perl basics

2002-01-11 Thread Sisyphus
- Original Message - From: Marcus [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, January 12, 2002 11:11 AM Subject: C with Perl basics I'd like to see if some C code will speed some routines up. Is perlxstut the place to start? I would start with the 'Inline' module. It

Re: Win32-GUI documentation

2002-01-12 Thread Sisyphus
- Original Message - From: "Vilius Gaidelis" [EMAIL PROTECTED] I can not find any documentation or tutorial about this module. Somebody knows where can I find it? Vilius Gaidelis -- Hi Vilius, The source from cpan contains html documentation

Re: Win32::GUI, msvcrt.dll Win98

2002-01-14 Thread Sisyphus
- Original Message - From: Miguel E. Guajardo [EMAIL PROTECTED] To: [EMAIL PROTECTED] Try (as Johan suggested) : $main-AddLabel( -name = 'anything', -text = Hello, world); This was unnecessary with earlier versions. Cheers, Rob

Re: Tk::JPEG Installation Problem

2002-02-01 Thread Sisyphus
- Original Message - From: Tillman, James [EMAIL PROTECTED] To: 'George Smith' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, February 01, 2002 7:27 AM Subject: RE: :JPEG Installation Problem -Original Message- From: George Smith [mailto:[EMAIL PROTECTED]] Sent:

Re: Tk::JPEG Installation Problem

2002-02-04 Thread Sisyphus
- Original Message - From: Tillman, James [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 05, 2002 1:50 AM Subject: RE: Tk::JPEG Installation Problem I find that Tk::JPEG as supplied by Active State works fine with version 800.022 of the Tk module. If you want

Re: Numeranomalies

2002-02-08 Thread Sisyphus
- Original Message - From: Joe Schell [EMAIL PROTECTED] Ok - so it seems that there are 3 ingredients that must be present for the problem to arise: 1) Big numbers - beyond 2^31-1. 2) The '%' operator. 3) A 'bare number' (for want of a better term). If any one of those

Re: Numeranomalies

2002-02-09 Thread Sisyphus
- Original Message - From: John Draper [EMAIL PROTECTED] I don't know if it helps to resolve anything, but writing the literal constant: 167772160 in the form: 16777216.0E1; i.e., in scientific notation, and thus forcing it into floating point mode, yields the correct

Re: Benchmark Error

2002-02-14 Thread Sisyphus
- Original Message - From: Dirk Bremer [EMAIL PROTECTED] To: 'Perl Win32 Users Mailing List' [EMAIL PROTECTED] Sent: Friday, February 15, 2002 7:41 AM Subject: Benchmark Error When I benchmark using this code: { sub test1($) { my $self = shift;

Storing a 32-bit integer in 4 bytes

2002-02-20 Thread Sisyphus
Hi, Can a 32 bit integer be written to a file in such a way that it is stored in only 4 bytes ? I thought that binmoding the filehandle might do this - but I'm finding that a number such as 31554399 is consuming 8 bytes (one byte for each digit), irrespective of whether the filehandle has been

Re: Storing a 32-bit integer in 4 bytes

2002-02-20 Thread Sisyphus
- Original Message - From: $Bill Luebkert [EMAIL PROTECTED] You need to binmode the FH and pack the data. Check out pack/unpack in perlfunc man page. Your filesystem may be big-endian or little-endian which will also affect it and transporting to a different endian system may be

pack

2002-02-20 Thread Sisyphus
Hi, Ok - so I'm running the code below and it's working as I want - unless either of the 2 values being written to the file is 10. (ie unless $num = 8 or 10). If the value is 10, then I get a couple of warnings about 'use of uninitialised value'. '10' is the only value I've found that exhibits

Re: pack

2002-02-21 Thread Sisyphus
- Original Message - From: Will W [EMAIL PROTECTED] Everyone's fascination with sysread() got me to poking around in the camel and cookbook a bit-- and I still can't see the advantage here of doing a low-level system call over using read(), which is generally buffered for optimal

Re: Storable for 5xx series AS Perl

2002-03-04 Thread Sisyphus
- Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 05, 2002 7:36 AM Subject: Storable for 5xx series AS Perl Has anyone tried to build the newer versions of Storable (1.x series) for the older versions of AS perl? I have machines running a pretty

Re: How to make sequences

2002-05-02 Thread Sisyphus
Mary J Blige [EMAIL PROTECTED] wrote: Does anybody know the good algorithm [snipped code would be better ;-)] that can produce all sequences of a string of numbers?? Sounds like you're talking about permutations. I searched CPAN (http://search.cpan.org/) with the word permute and came

Re: Perl Modularisation

2002-05-03 Thread Sisyphus
- Original Message - From: Sean Ahern [EMAIL PROTECTED] And now it gets strange. I can do require mod3.pm and that's fine. But I don't seem to be able to get relative paths require ./Modules/mod3.pm or require .\\Modules\\mod3.pm That *is* strange. 'require

Re: Clearcase::SyncTree - Error - Please help me

2002-05-04 Thread Sisyphus
- Original Message - From: [EMAIL PROTECTED] C:\perl use Clearcase::Argv; Can't locate Argv.pm in @INC (@INC contains: c:/Perl/lib c:/Perl/site/lib .) at c: /Perl/site/lib/Clearcase/Argv.pm line 5. This would indicate to me that line 5 of Clearcase/Argv.pm contains: use Argv; And

Re: Problem Using Makefile.PL to Install CPAN Modules

2002-05-07 Thread Sisyphus
It would be nice, however, to know why 'nmake test' was giving such an unsatisfying message. Thanks again for your help. Jim Keenan Yes - it would :-) When you run 'nmake test', all of the '.t' scripts in the 't' folder in the tarball are run. Now that you have installed the module I

Re: GD::Graph::pie

2002-05-18 Thread Sisyphus
- Original Message - From: steve silvers [EMAIL PROTECTED] I'm having problems getting this to work. Thanks in advance. Steve. Try this: use GD::Graph::pie; print Content-Type: image/png\n\n; @data = ( [1st,2nd,3rd,4th,5th,6th], [4,2,3,4,3, 3.5]

Re: Mail::Sender - bug?

2002-05-21 Thread Sisyphus
- Original Message - From: Lee Goddard [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, May 21, 2002 6:21 PM Subject: Mail::Sender - bug? Hi! #! perl; use Mail::Sender; $to = [EMAIL PROTECTED]; for (1..10){ my $sender = new Mail::Sender; die

Re: When open doesn't

2002-05-24 Thread Sisyphus
- Original Message - From: [EMAIL PROTECTED] Its just that I really wanted to find out why this is happening. To that end it would be useful to know just what 'Invalid Argument' means. What does one have to do to produce that error ? Anyone know ? The only error I can produce is

Re: Subject goes hereRe: When open doesn't

2002-05-24 Thread Sisyphus
Just a thought on diagnosing the problem - as well as checking $!, also check $@, $^E and $? . You never know Cheers, Rob ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Re: Generating random numbers?

2002-05-28 Thread Sisyphus
- Original Message - From: steve silvers [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 29, 2002 3:51 AM Subject: Generating random numbers? I have seen a few ok random number generator snippets but none really look like they work too well. Take the two below arrays.

Using both 'Benchmark' and 'strict'

2002-06-03 Thread Sisyphus
Hi, Seems that if you 'use strict' (or even simply declare with 'my') then none of the variables can be accessed by a Benchmark test. To illustrate: #! perl -w use strict; use Benchmark; my @one = (1..10); my @two = (11..20); timethese (5, { 'one' = 'print scalar(@one), \n;', 'two' = 'print

Re: use lib failing on IIs

2002-06-07 Thread Sisyphus
Can't locate STDLIB.pm in @INC (@INC contains: ../ C:/Perl/lib C:/Perl/site/lib .) at D:\web\cgi-bin\scripts\admin\admin.pl line 35. BEGIN failed--compilation aborted at D:\web\cgi-bin\scripts\admin\admin.pl line 35. If 'STDLIB.pm' is indeed located in 'D:\web\cgi-bin\scripts\' (or in the

Re: Packages Included and not

2002-06-12 Thread Sisyphus
- Original Message - From: Michael D. Smith [EMAIL PROTECTED] I just tried: useWin32::OLE; And I got two errors, package strict wasn't found nor was package vars. A search of C drive found neither on my computer, so they weren't just not found, they aren't here. Does this

Re: Autoloader error

2002-06-14 Thread Sisyphus
- Original Message - From: Nathan Rimmer [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 14, 2002 4:24 PM Subject: Autoloader error I am trying use the Cast5_PP encryption module but am getting an error related to the Autoloader module: Can't locate

Re: Test ? after module installed?

2002-06-16 Thread Sisyphus
- Original Message - From: Michael D. Smith [EMAIL PROTECTED] print \nmydd = $$ mypid = $PID\n\n; mydd = 1748833 mypid = -1748833 It should sort itself out when the wind changes direction. (ie. I have no idea what's happening there - I can only report that I

Re: Catching binary ouput

2002-06-18 Thread Sisyphus
- Original Message - From: $Bill Luebkert [EMAIL PROTECTED] I *have* had runs of 50 32's, but often there's a sprinkling of 33's throughout. (Try about 500 iterations and there should be at least one 33 ). I'm not seeing that. Wonder why that is ? Are you running the code for

Re: error using nmake with Event module...

2002-06-21 Thread Sisyphus
- Original Message - From: Magnone, Angelo [EMAIL PROTECTED] Event.c C:\Program Files\Microsoft Visual Studio\VC98\include\signal.h(102) : error C2059: syntax error : '(' NMAKE : fatal error U1077: 'cl.exe' : return code '0x2' Stop. I (and probably many others) get the same. It's a

Re: Establishing an Internet Connection

2002-06-21 Thread Sisyphus
- Original Message - From: Eric Robertson I'd like to be able to change the program so that it automatically opens up the Dial-Up Connection box if there's no live connection. You can achieve this with Win32::RASE.pm well it won't bring up the Dial-Up box, but you can use the

Re: Trapping Interrupts on Windows

2002-06-22 Thread Sisyphus
- Original Message - From: Carl Jolley [EMAIL PROTECTED] To: Sisyphus [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, June 23, 2002 5:53 AM Subject: Re: Trapping Interrupts on Windows On Fri, 21 Jun 2002, Sisyphus wrote: - Original Message - From: parvez [EMAIL

Re: Reply: Win32 Sound Module install ???

2002-06-26 Thread Sisyphus
- Original Message - From: Michael D. Smith [EMAIL PROTECTED] I saw this link: http://www.activestate.com/PPMPackages/zips/5xx-builds-only/?_x=1 but when I click on a zip file on that page, I get the zip file, on-screen, in text (mostly garbage actually), instead of the expected

Re: embedding/extending problem

2002-07-01 Thread Sisyphus
- Original Message - From: Calin Fandango [EMAIL PROTECTED] xxx.obj : error LNK2001: unresolved external symbol _a blib\arch\auto\XPEDoc\xxx.dll : fatal error LNK1120: 1 unresolved externals What should I do? I'm a little confused. Does that error message arise when you try to

Re: embedding/extending problem

2002-07-02 Thread Sisyphus
- Original Message - From: Calin Fandango [EMAIL PROTECTED] I'm trying to build my module (with MSVC 6) and the only thing needed is to convince the linker that there is (will be) a resolved symbol named a. Is that possible? I've always assumed that the compiler is going to need to

Re: best way to set file attributes in Win32 env ...

2002-07-30 Thread Sisyphus
- Original Message - From: Lawrence Lordanich (x11486) [EMAIL PROTECTED] To: perl win32 users [EMAIL PROTECTED] Sent: Wednesday, July 31, 2002 10:56 AM Subject: best way to set file attributes in Win32 env ... Would anybody out there be able to tell me the best way to work with file

Re: Win32::OLE: Language of error message?

2002-07-31 Thread Sisyphus
- Original Message - From: Dr. Thomas Bruns [EMAIL PROTECTED] Win32::OLE(0.1502) error 0x80020010: Aufgerufener ist ungAĆ¼ltig in METHOD/PROPERTYGET myMethod at myModule.pm line 123 I am German, but this messages makes no sense to me! So, I'd rather like this messages to be in

Re: XML::LibXML

2002-08-12 Thread Sisyphus
- Original Message - From: Gladstone Alexander [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 09, 2002 10:51 PM Subject: XML::LibXML Can someone tell me how to set up my windows 2000 machine to use XML::LibXML in my perl scripts? What do I need and where can I get it?

Re: Tk::JPEG Errors w/Perl 5.6.1 Build 633

2002-08-14 Thread Sisyphus
- Original Message - From: Syl [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 15, 2002 4:56 AM Subject: Tk::JPEG Errors w/Perl 5.6.1 Build 633 The following error occurs when trying to run Guido with Perl 5.6.1 build 633 Default die handler restored. Tk::JPEG

Re: Tk::JPEG Errors w/Perl 5.6.1 Build 633

2002-08-15 Thread Sisyphus
- Original Message - From: Syl [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 15, 2002 4:12 PM Subject: Re: Tk::JPEG Errors w/Perl 5.6.1 Build 633 My view is that you notify Nick Ing-Simmons, because the problem (I believe) lies with his code. I don't think it is

  1   2   3   4   5   6   7   8   9   >