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
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
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
Hello,
What's is exactly the difference
between:
Module-formatVal($string);
Module::formatVal($string);
Thanx in advance !
Frédéric
BournivalProgrammeur-analyste /
analyst-programmerSolutions
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
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
# 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:
- 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.
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