Re: Question on configuring Help

2005-03-25 Thread Offer Kaye
On Fri, 25 Mar 2005 14:53:40 -0500, Bob Nix wrote: > I have installed Perl on a PC running Win2000. > The make, test, and install all ran without problem. > > I saw references to html-based help. How do I install Perl html help? > > Thanks, > > Bob Nix Assuming you installed the latest stable

Re: Question on configuring Help

2005-03-25 Thread Bob Nix
My c:\perl\html directory contains more directories - \ext, \lib, and \pod but no files >> Did you install Activestate perl or compile your own? >> Activestate default installation places html docs in >> C:\Perl\html directory. I compiled my own; did not use Activestate. Bob Nix (336) 282-5469

Re: need help for Getopt::Long; --resolved

2005-03-25 Thread Shiping Wang
At 10:46 AM 3/25/2005 -0600, Shiping Wang wrote: Hi, I have problem to match array defined in Getopt::Long and transfer to new file: If I do: try.pl --InputData sample.txt --Trait=_BMI --covars=age, _DBP, _SBP --Race=Others with this file: GFAMID GDADID GMOMID ID SEX HYT3 _SBP _DBP _BMI

Re: Another optionmenu callback problem

2005-03-25 Thread Steven Schubiger
On 25 Mar, BJ wrote: > The error I get is "Tk::Error: Can't set -options to > `ARRAY(0x2eee778)' for Tk::Optionmenu=HASH(0x2ef4e78) This implicates, that an array reference is not being dereferenced properly. > [EMAIL PROTECTED]; [EMAIL PROTECTED] is a reference to an array. Are you sure

RE: Question on configuring Help

2005-03-25 Thread Charles K. Clarkson
Charles K. Clarkson wrote: : : file:///c:/Perl/html/perltoc.html Whoopsie. file:///C:/Perl/html/index.html Charles K. Clarkson -- Mobile Homes Specialist 254 968-8328 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTE

RE: Question on configuring Help

2005-03-25 Thread Charles K. Clarkson
Bob Nix wrote: : I have installed Perl on a PC running Win2000. : The make, test, and install all ran without problem. : : I saw references to html-based help. How do I install : Perl html help? Did you install Activestate perl or compile your own? The Activestate

Re: Help working/searching fields in 3 files

2005-03-25 Thread Pablo Wolter
[EMAIL PROTECTED] wrote: - Original Message - From: Pablo Wolter <[EMAIL PROTECTED]> Date: Thursday, March 24, 2005 3:43 pm Subject: Help working/searching fields in 3 files Hi, Hello, I need some ideas because I'm just trying and error programming. I have some .dat files that come in th

Question on configuring Help

2005-03-25 Thread Bob Nix
I have installed Perl on a PC running Win2000. The make, test, and install all ran without problem. I saw references to html-based help. How do I install Perl html help? Thanks, Bob Nix (336) 282-5469 fax # (509) 355-2669

suidperl.

2005-03-25 Thread Rod Za
Hello all. I'm trying to make changes in a file (smb.conf) that is owner by root (chmod=644). I'm using the Config::IniFiles module to do the work and the script run as 'lp' user. This is a piece of code: if($self->{config}{AUTO_SMB_PRINTER}){ $self->log_it('DEBUG',"(D): Auto SAMBA printer on.

Re: Module questions (perhaps a module creation mini-tutorial)

2005-03-25 Thread Jeff 'japhy' Pinyan
On Mar 25, Peter Rabbitson said: package CalcTest; use warnings; use strict; my @collect; This is suspect. You shouldn't be using this array. You should be storing data in your object. 1; It's probably safer to put this at the very end of your module, just in case you have other code (non-subr

Module questions (perhaps a module creation mini-tutorial)

2005-03-25 Thread Peter Rabbitson
Hello list, I am trying to make my own modules for some tasks, and I am trying to grasp the basics before I go any further. Here is a dumb test module that I wrote just to see how things are done - it takes an array of 3 values and adds them together, returning the values on request. ### 3-e

need help for Getopt::Long;

2005-03-25 Thread Shiping Wang
Hi, I have problem to match array defined in Getopt::Long and transfer to new file: If I do: try.pl --InputData sample.txt --Trait=_BMI --covars=age, _DBP, _SBP --Race=Others with this file: GFAMID GDADID GMOMID ID SEX HYT3 _SBP _DBP _BMI RACE AGE _HTMED antiht How can I get it to ne

Another optionmenu callback problem

2005-03-25 Thread BJ
I am trying to create a hierchical optionmenu system. I have an array for my first options, and hashes of arrays for my second and third options where the index of the array is the choice from the previous menu. Whenever I try to update the options, I get an error though. The program when coded

Re: regex for l33t speak

2005-03-25 Thread Randy W. Sims
Oops, I forgot to detab before inlining that, and there was some loose ends. Here it is again inlined and attached. It's not optimized in any way, opting instead for a quick straightforward implementation. Incomplete, possibly buggy, completely undocumented. I didn't write it as a patch for Cas

Re: regex for l33t speak

2005-03-25 Thread Randy W. Sims
Andrew Gaffney wrote: Wow, this is more difficult than I first thought. Not really. Just for kicks here is a simple driver: #!/usr/bin/perl use strict; use warnings; use Leetspeak; # $Leetspeak::DEBUG = 1; my $word = shift( @ARGV ); my $l33t = Leetspeak->new(); my $translation = $l33t->translate( $

problem with using a module just recently installed

2005-03-25 Thread Nelson Tong
HI, I am having a problem of using a module recently installed and just can't quite figure out a solution. I installed 'Cache::FastMmap' using -MCPAN, and made @INC contains the directory where I have installed the module (eg. .../.cpan/build/Cache-FastMmap-1.09/blib/lib/). When I use perld

Re: Bidirection comunication wtih ppipes- doesn´t work ?

2005-03-25 Thread Andrew Wansink
On Thu, 24 Mar 2005 11:29:04 +, José Pedro Silva Pinto wrote: > Hi, > > I want make a bi-directional communication between two processes, using pipes. > > To make it possible, I create 2 pipes, on for on way ( pipe(LEI_1,WRITE_1) ) > an another to opposite way (pipe(READ_2,WRITE_2);). > >