tried several things to include, but not
limited to:
perl -MCPAN -e "install Pod::Man"
Alas, none of my efforts have proven fruitful.
Any suggestions would be greatly appreciated.
Thanks,
Sid
To get $n random numbers into @list, use:
@list = (rand(4)) x $n;
~Sid
On Fri, 17 Sep 2004 15:02:55 +0200 (CEST), c r <[EMAIL PROTECTED]> wrote:
> Hi!
>
> Is it possible to avoid another loop by using the x operator? I.e.
>
> push(@list, rand(4));
>
> gives me one
To get $n random numbers into @list, use:
@list = (rand(4)) x $n;
~Sid
On Fri, 17 Sep 2004 15:02:55 +0200 (CEST), c r <[EMAIL PROTECTED]> wrote:
> Hi!
>
> Is it possible to avoid another loop by using the x operator? I.e.
>
> push(@list, rand(4));
>
> gives me one
Use the following:
$option = "0" . $option if ($option / 10 < 1 && $option !~ /^0/);
~Sid
On Thu, 9 Sep 2004 08:58:36 -0500, Errin Larsen <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I have a variable I'm reading off of the command line:
>
> my $o
Just a note, but I believe reading that in Perl6, we will have $# hold the
current index of a for or foreach loop. Excellent idea I think.
Sid.
-Original Message-
From: Andrea Holstein [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 17, 2001 10:45 PM
To: [EMAIL PROTECTED]
Subject
If you have the modules installed:
1. do a perl -V and at the very bottom it should give you the path to your
perl library.
2. you can also use LWP and then look into %INC for the exact location:
%> perl -e 'use LWP; print map { "$_ => $INC{$_}\n" } sort keys %INC'
, read the docs.
So it wouldn't hurt to put #!C:\perl\bin at the top of your scripts.
Sid.
-Original Message-
From: Lynn Glessner [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 28, 2001 9:12 PM
To: [EMAIL PROTECTED]
Subject: Re: Perl & Win 98SE
The #! line is only for un