Re: Win32 Build Problem

2002-05-28 Thread Richard Kandarian
Jim, It looks like you've built two configurations (i.e. changed your Makefile at least once). When you change your Makefile such that the architecture or version of Perl changes you must do an nmake distclean before using the new Makefile. This will clean out all the .pm files (and maybe

Re: ole? notepad?

2002-05-28 Thread Paul \Bo\ Peaslee
how can i launch notepad and print something in it? You can print with Notepad from a shell command line using the following: prompt notepad /p filename.txt There's several ways (as one would expect from Perl) to launch that command line. Try: perl -e `notepad /p filename.txt` to

Generating random numbers?

2002-05-28 Thread steve silvers
I have seen a few ok random number generator snippets but none really look like they work too well. Take the two below arrays. @array qw(1 2 3 4 5 6 7 8 9); @array2 qw(01 02 03 04 99 88); I want to be able to get either single numbers or double numbers and limit how many to generate. I can't

Diffence between :: and -

2002-05-28 Thread Frederic Bournival
Hello, What's is exactly the difference between: Module-formatVal($string); Module::formatVal($string); Thanx in advance ! Frédéric BournivalProgrammeur-analyste / analyst-programmerSolutions

RE: ole? notepad?

2002-05-28 Thread Burak Grsoy
Actually, I've asked a perl way to do this. And without a temporary file. I didnt try the answers in the other messages, but it is possible as i see... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Paul Bo Peaslee Sent: Tuesday, May 28, 2002 4:32 PM

RE: Diffence between :: and -

2002-05-28 Thread Tillman, James
Module-formatVal($string) causes perl to send in this parameter list to formatVal: @_ = ('Module', $string); Module::format($string) causes perl to send in this parameter list to formatVal: @_ = ($string); The first construct is for object-oriented use, the second is for library

Re: Diffence between :: and -

2002-05-28 Thread Förtsch
# perl -e 'package X; sub x{print @_\n;}package main; X::x(klaus);' klaus # perl -e 'package X; sub x{print @_\n;}package main; X-x(klaus);' X klaus On Tue, 28 May 2002 14:51:37 -0400 Frederic Bournival [EMAIL PROTECTED] wrote: Hello, What's is exactly the difference between:

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.

Re: Generating random numbers?

2002-05-28 Thread Ron Grabowski
I have seen a few ok random number generator snippets but none really look like they work too well. Take the two below arrays. http://search.cpan.org/search?mode=modulequery=random Some modules that may be of interest: Math::Random Math::TrulyRandom