pod2man

2006-08-15 Thread Sid Knee
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

Re: the x operator

2004-09-17 Thread 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

Re: the x operator

2004-09-17 Thread 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

Re: Leading zero in a string

2004-09-09 Thread Sid
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

RE: Index of foreach [ot]

2001-09-17 Thread Sid Malhotra
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

RE: Got it.....Source code of Perl Modules?

2001-08-29 Thread Sid Malhotra
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'

RE: Perl & Win 98SE

2001-08-28 Thread Sid Malhotra
, 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