Pair of key+value is the one and the only one in the hash

2003-06-26 Thread Sinitcin Vitali
Title: Pair of key+value is the one and the only one in the hash Hi all, Is there a way to know if the pair(key, value) is the one and the only one in the hash? while (my ($key, $val) = each %parsed_keys) { if ( ($key =~ /^help$/) ($val =~ /^y$/) (such pair is one and the only one in the

BusinessObjects with perl

2003-06-26 Thread patrick . clemente
I try to pilot a BusinessObjects application using perl on a WinNT platform. I would like to open a document, refresh, save, export... Every example of code related to the topic is welcome. Thanks, Patrick

Content-type: text/xml

2003-06-26 Thread V. B. de Haan
Hi list, this is my script: print "Conten-type: text/xml\n\n";print OUTPUT;?xml version='1.0'?!DOCTYPE uslcomlist SYSTEM "analyse.dtd"analyse/analyseOUTPUTexit; and this is the output by clicking viewsource: ?xml version='1.0'?!DOCTYPE uslcomlist SYSTEM "analyse.dtd"analyse/analyse

Re: BusinessObjects with perl

2003-06-26 Thread Jenda Krynicky
From: [EMAIL PROTECTED] Subject:BusinessObjects with perl I try to pilot a BusinessObjects application using perl on a WinNT platform. I would like to open a document, refresh, save, export... Every example of code related to the topic

Re: uninitialized value problem in migrated app

2003-06-26 Thread Jenda Krynicky
From: $Bill Luebkert [EMAIL PROTECTED] News Portal wrote: Hi, I'm Dave. I know you must be very busy, but I hope you can help me with this. I migrated an app from Linux to Windows2000. Now, some of it runs and access data from the original MySql database but some code

RE: Pair of key+value is the one and the only one in the hash

2003-06-26 Thread Hugh S. Myers
Title: Pair of key+value is the one and the only one in the hash if (scalar(keys %parsed_keys) == 1) { print "Something!\n"; } else { # whatever... } -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Sinitcin VitaliSent: Thursday, June 26,

RE: BusinessObjects with perl

2003-06-26 Thread patrick . clemente
Thanks to all. My question is closed. Patrick __ Reply Separator _ Subject: RE: BusinessObjects with perl Author: Saurabh.Chandra ([EMAIL PROTECTED]) at internet Date:6/26/03 10:59 AM This sample code

Variable scoping

2003-06-26 Thread Moreno, Javier \(GXS, Softtek\)
Title: Variable scoping Hi all, I have a question. After so much scoping issues and trying to understand I am writing all my programs with use strict. However, I have some very old code that I am trying to modify and get up-to-date. However there are some programs that will require my code

RE: Variable scoping

2003-06-26 Thread Wayne Simmons
Title: Variable scoping If I understand your question, I had the same problem of trying to share global variables between scripts (ie: Script A calls Script B and you want them both to have access to variable $foo). I used the "our" keyword and it seems to work just the way I wanted it