RE: Adding to a hashref

2005-01-04 Thread Charles K. Clarkson
Mike Blezien <[EMAIL PROTECTED]> wrote: : I need to add to an existing hash, $params, that reads from a : tempfile. The code looks something like this, : : my $cgi = new CGI(); : my $params = $cgi->Vars(); My first question would be: Why use the $params at all, but many people like to do tha

Adding to a hashref

2005-01-04 Thread Mike Blezien
Hello, I need to add to an existing hash, $params, that reads from a tempfile. The code looks something like this, my $cgi = new CGI(); my $params = $cgi->Vars(); # now we have some parameters from the form and need to add some additional data # to the $params hashref IE. $params->{name}, $para

Re: DLL and Perl

2005-01-04 Thread Alfred Vahau
For a good intro. to perl internals, see the online documentation perldoc perlembed It's the first one you want. More specifically perlapi. You might also want to check out SWIG http://www.swig.org/ alfred, renard wrote: I have a .dll and the information on the functions available. The informatio

Re: text parser

2005-01-04 Thread Jay
On Tue, 04 Jan 2005 18:05:46 -0300, Patricio Bruna V <[EMAIL PROTECTED]> wrote: > hi, > are any module that can parse text files with some definitions of > segment that i define? > > i have a file where the blocks starts with [foo] and last to the next > block. > > thx The short answer is: ye

text parser

2005-01-04 Thread Patricio Bruna V
hi, are any module that can parse text files with some definitions of segment that i define? i have a file where the blocks starts with [foo] and last to the next block. thx -- Patricio Bruna http://www.linuxcenterla.com Ingeniero de Proyectos

Re: DLL and Perl

2005-01-04 Thread renard
I have a .dll and the information on the functions available. The information provides the prototype of the function in the dll. As far as I can tell the dll was written in C. I want to call on these functions from within a perl script. More specifically the dll prints out bridge hands. One func

RE : xml

2005-01-04 Thread Jose Nyimi
> -Message d'origine- > De : Todd W [mailto:[EMAIL PROTECTED] > Envoyé : mardi 4 janvier 2005 18:49 > À : beginners@perl.org > Objet : Re: xml > > > "Brent Clark" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > Hi > > > > I have been trying to get my perl to work with

RE: How does defined work?

2005-01-04 Thread Babale Fongo
Both Zero "0" and empty string " " are defined values in Perl, so if you want to test for values other than zero or empty string; then try something like thing: if ($nUserId) { # so "0", 0 or " " will fail here $juror_number = $nUserId; } else { die "No valid ID

Re: Our Perl file

2005-01-04 Thread Alfred Vahau
Hi, Is there a code I can use in perl to check to see if it is the current dates data or at least the last 3 days dates, if it is older than 3 days then delete the data in the file it creates? The following online references may be relevant for your project. perldoc -f stat perldoc -f -M alfre

Re: xml

2005-01-04 Thread Todd W
"Brent Clark" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi > > I have been trying to get my perl to work with an xml doc (about 2 hours > new to xml). > I basically just want all the elements > > would anyone be so kind as too share a link of doc etc as how I can > takle this.

Re: Our Perl file

2005-01-04 Thread JupiterHost.Net
Is there a code I can use in perl to check to see if it is the current dates data or at least the last 3 days dates, if it is older than 3 days then delete the data in the file it creates? I hope I am making sense. perldoc -f stat -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comma

Our Perl file

2005-01-04 Thread Overstreet, Melody
We have a perl script file named buildgen.pl which will go out and look at a day to see if it is Monday, Tuesday, Wednesday, Thursday, Friday, and Saturday. For instance it should have done Tuesday last night. Once it creates this file, it does not erase the file it waits till the next time it is

RE: $@ not working

2005-01-04 Thread Siegfried Heintze
Sorry -- I should have suspected the debugger. It runs correctly outside the debugger. -Original Message- From: Randy W. Sims [mailto:[EMAIL PROTECTED] Sent: Monday, January 03, 2005 10:03 PM To: Siegfried Heintze Cc: beginners@perl.org Subject: Re: $@ not working Siegfried Heintze wrote

Re: Writing a statement

2005-01-04 Thread JupiterHost.Net
Overstreet, Melody wrote: I have a statement know that populates with last weeks data. I do not want it to populates last weeks data. What I want it to do is to send a message So remove that "statement" whatever "statement" means... saying File is missing and not populate with last weeks data.

Writing a statement

2005-01-04 Thread Overstreet, Melody
I have a statement know that populates with last weeks data. I do not want it to populates last weeks data. What I want it to do is to send a message saying File is missing and not populate with last weeks data. How do I do this? Thanks, Melody A. Overstreet Business System Analyst Corpus Chris

Re: measuring memory

2005-01-04 Thread Ing. Branislav Gerzo
zentara [z], on Tuesday, January 04, 2005 at 07:58 (-0500) wrote about: or: ps -u -- ...m8s, cu l8r, Brano. ["Et Tu Gryphon?" - Quickling] -=x=- Skontrolované antivírovým programom NOD32 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: measuring memory

2005-01-04 Thread Ing. Branislav Gerzo
zentara [z], on Tuesday, January 04, 2005 at 07:58 (-0500) contributed this to our collective wisdom: z> On Linux, just pit the following script somewhere in your perl5lib. very nice. I thought Free BSD has /proc too, but it doesnt, so I have to do that via top -n | grep -- ...m8s, cu l8r,

Re: DLL and Perl

2005-01-04 Thread Jenda Krynicky
From: "renard" <[EMAIL PROTECTED]> > Could someone point me to document(s) which describes how to use a dll > in a perl script. > > I have a dll and information describing its function calls. > > I have tried to google but unfortunately I did not use the appropriate > search words. > > Thank You

Re: xml

2005-01-04 Thread Robin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday 04 January 2005 23:12, Brent Clark wrote: > would anyone be so kind as too share a link of doc etc as how I can > takle this. For simple XML stuff, I've had good success with XML::Simple. It'll turn the XML document into a hash/array data s

Any call-response subscription packages available ?

2005-01-04 Thread WebDragon
I'm curious to know if there are any generic call-response subscribe packages out there written in Perl (preferably object oriented in design) i.e. what I am looking for is, { o user subscribes via form on website, gives e-mail address and creates a password o user is sent a 'call' e-mail s

RE: :UserAgent

2005-01-04 Thread Thomas Bätzler
Ing. Branislav Gerzo <[EMAIL PROTECTED]> asked: > just pretty simple question: is LWP::UserAgent encode URL ? > for example I have: > > my $ua = LWP::UserAgent->new; > my $resp = $ua->get('http://something.net/this:is+just test'); > > my question is, if LWP first encode (escape) path in URL as >

xml

2005-01-04 Thread Brent Clark
Hi I have been trying to get my perl to work with an xml doc (about 2 hours new to xml). I basically just want all the elements would anyone be so kind as too share a link of doc etc as how I can takle this. Kind Regards and thanks in advance Brent Clark

Re: installing perl

2005-01-04 Thread Randy W. Sims
Octavian Rasnita wrote: Hi, I have tried to install DBI and I saw that it tells me that perl is installed thread enabled and that this is not recommended for production environments. How can I install perl without beeing thread enabled? I use perl 5.8.4 under Linux Fedora Core 2. If Fedora offers a

Re: Circular References, Self Referenced memory ang Garbage Collection

2005-01-04 Thread Randy W. Sims
Marcos Rebelo wrote: Some time ago I read one article about this Consider that you have: { # make $a point to itself my $a; $a = \$a; } Or { # make $a and $b point to each other my ($a, $b); $a = \$b; $b = \$a; } This memory will be free just at the

Circular References, Self Referenced memory ang Garbage Collection

2005-01-04 Thread Marcos Rebelo
Some time ago I read one article about this Consider that you have: { # make $a point to itself my $a; $a = \$a; } Or { # make $a and $b point to each other my ($a, $b); $a = \$b; $b = \$a; } This memory will be free just at the end of the proce

LWP::UserAgent

2005-01-04 Thread Ing. Branislav Gerzo
Hi there, just pretty simple question: is LWP::UserAgent encode URL ? for example I have: my $ua = LWP::UserAgent->new; my $resp = $ua->get('http://something.net/this:is+just test'); my question is, if LWP first encode (escape) path in URL as is written in RFC 1738, or I have to care about it in

installing perl

2005-01-04 Thread Octavian Rasnita
Hi, I have tried to install DBI and I saw that it tells me that perl is installed thread enabled and that this is not recommended for production environments. How can I install perl without beeing thread enabled? I use perl 5.8.4 under Linux Fedora Core 2. If perl is already installed, can I do