Rob Dixon - Re: sorting thoughts

2003-02-02 Thread Steven_Massey
Rob - Thanks for the help, it was apreciated "Rob Dixon" <[EMAI

distributing perl applications

2003-02-02 Thread Duarte Cordeiro
Hi, after spending a couple of months on a perl project, I'm going to install the application on costumer's server. The question being: - Is there any way I can "join" all the modules in one big file? It has nothing to do with do not wanting them to see the source code, its just for easy of in

Re: how to distribute a module

2003-02-02 Thread Randal L. Schwartz
> "Paul" == Paul Tremblay <[EMAIL PROTECTED]> writes: Paul> Thanks. I have run Paul> h2xs -XA -n rtf "rtf" is a Really Bad Name for a module. First, it starts with a lowercase letter, which is reserved for system packages and modules. Not You. Second, if you ever plan on distributing it

UNIX Perl installation - Help Please

2003-02-02 Thread M A Ponnambalam
Hi All, I am facing some strange problem with Perl installation in UNIX. I downloaded perl sources from CPAN and then i compiled the sources in /var/tmp . Now the perl is working in /var/tmp. At that time when i try to copy those binaries into different directory like /tools/opt/ns , it

Re: how to distribute a module

2003-02-02 Thread Paul Tremblay
On Sun, Feb 02, 2003 at 08:23:04PM +0100, Paul Johnson wrote: > > > I have a series of modules that I would like to distribute for public > > use. These modules convert RTF to XML, and they are all contained in a > > folder called rtf. > > > > I could have the user intall every thing manually, bu

Re: Just another regex quetion

2003-02-02 Thread M A Ponnambalam
Wiggins d'Anconia wrote: > > Konrad Foerstner wrote: > > Hi folks, > > > > an new question about the mystery of regexs: > > > > I want to store some parts of a file wich are separetet by "#". Each each > > part should become an entry of an array. example: > > > > " > > # foobar > > nothing importa

Re: Use of uninitialized value in pattern match (m//) at test.pl line 85.

2003-02-02 Thread Paul Johnson
On Mon, Feb 03, 2003 at 11:57:29AM +1100, simran wrote: > On Mon, 2003-02-03 at 09:37, Rob Dixon wrote: > > "John W. Krahn" <[EMAIL PROTECTED]> wrote in message > > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > [EMAIL PROTECTED] wrote: > > > > > > > > $var|=10; # like that if u want to set the

Re: Use of uninitialized value in pattern match (m//) at test.pl line 85.

2003-02-02 Thread simran
perhaps such a statement would suit: $var = defined $var ? $var : 10; On Mon, 2003-02-03 at 09:37, Rob Dixon wrote: > "John W. Krahn" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > [EMAIL PROTECTED] wrote: > > > > > > $var|=10; # like that if u want to se

Re: Just another regex quetion

2003-02-02 Thread Wiggins d'Anconia
Konrad Foerstner wrote: Hi folks, an new question about the mystery of regexs: I want to store some parts of a file wich are separetet by "#". Each each part should become an entry of an array. example: " # foobar nothing important nothing interesting # bar foot lululul lalala lalala # foobar2

Just another regex quetion

2003-02-02 Thread Konrad Foerstner
Hi folks, an new question about the mystery of regexs: I want to store some parts of a file wich are separetet by "#". Each each part should become an entry of an array. example: " # foobar nothing important nothing interesting # bar foot lululul lalala lalala # foobar2 Rumba-Samba-Tango " (oka

Re: Use of uninitialized value in pattern match (m//) at test.pl line 85.

2003-02-02 Thread Rob Dixon
"John W. Krahn" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > [EMAIL PROTECTED] wrote: > > > > $var|=10; # like that if u want to set the variable to a default value-- > > # if the $var is not defined it assigns a value of 10 to it. > > You need to

Re: Use of uninitialized value in pattern match (m//) at test.pl line 85.

2003-02-02 Thread John W. Krahn
[EMAIL PROTECTED] wrote: > > $var|=10; # like that if u want to set the variable to a default value-- > # if the $var is not defined it assigns a value of 10 to it. You need to use the ||= operator not the |= operator for that. John -- use Perl; program fulfillment -- To unsubscri

Re: equivalent of static vars?

2003-02-02 Thread christopher j bottaro
ahh, perldoc -q...thats neat...thanks...=) -- christopher On Saturday 01 February 2003 07:49 pm, John W. Krahn wrote: > Christopher J Bottaro wrote: > > hello, > > Hello, > > > what are the equivalent of static vars in c code? for instance... > > > > void myfunc() { > > static int firs

Re: how to distribute a module

2003-02-02 Thread Paul Johnson
On Sun, Feb 02, 2003 at 01:36:59PM -0500, Paul Tremblay wrote: > I have a series of modules that I would like to distribute for public > use. These modules convert RTF to XML, and they are all contained in a > folder called rtf. > > I could have the user intall every thing manually, but that seem

how to distribute a module

2003-02-02 Thread Paul Tremblay
I have a series of modules that I would like to distribute for public use. These modules convert RTF to XML, and they are all contained in a folder called rtf. Can anyone tell me how to package these modules for distribution? The *Perl Cookbook* doesn't seem to be much help in this area. If I type

Re: OT - INTJ (was: Even more regex)

2003-02-02 Thread Wiggins d'Anconia
Rob Dixon wrote: R. Joseph Newton wrote: OT: What does "INTJ" stand for? It's a psychological classification system. The four letters divide people into sixteen classes: I/E - Introvert/Extrovert N/S - 'Ntuitive/Sensory T/F - Thinky/Feely J/P - Judgmental/Perceptive I know

RE: threads and pids

2003-02-02 Thread Beau E. Cox
Hi - I got interested in 5.8 threads too... > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of > zentara > Sent: Sunday, February 02, 2003 4:53 AM > To: [EMAIL PROTECTED] > Subject: threads and pids > > > Hi, > I just got interested in 5.8 threads. I ha

threads and pids

2003-02-02 Thread zentara
Hi, I just got interested in 5.8 threads. I have a simple question about the first basic example in perlthrtut. My basic question is how to track the pids, and why does the following program create 4 pids instead of 3? I would expect 3, one for the parent, and one for each of 2 threads. So run t

Re: Use of uninitialized value in pattern match (m//) at test.pl line 85.

2003-02-02 Thread km
hi, u can do : $var|=10; # like that if u want to set the variable to a default value-- # if the $var is not defined it assigns a value of 10 to it. KM -- On Sat, 1 Feb 2003, Rob Dixon wrote: > Chad Kellerman wrote: > > Hi guys, > > > >How

Re: Threads

2003-02-02 Thread dan
Excellent, that worked. I put the threads->new (\&tick)->detach; line into my code, and it successfully ran the code in the background, while the rest of the service ran as it normally should do. What I need to do now, is to be able to modify the %akill hash within the main service, and when the ti

Re: OT - INTJ (was: Even more regex)

2003-02-02 Thread Rob Dixon
R. Joseph Newton wrote: > > OT: What does "INTJ" stand for? It's a psychological classification system. The four letters divide people into sixteen classes: I/E - Introvert/Extrovert N/S - 'Ntuitive/Sensory T/F - Thinky/Feely J/P - Judgmental/Perceptive I know this only because

Re: How do I get simple random numbers?

2003-02-02 Thread Rob Dixon
Dr. Poo wrote: > On Saturday 01 February 2003 03:18 pm, R. Joseph Newton wrote: >> Jamie Risk wrote: >> Remember the principle of KISS. >> > > Ahem..excuse me; What is the principle of KISS? Thanks. :) Keep It Simple, Stupid! /R -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional