Re: xml::simple, $hash ?

2005-07-01 Thread Brent Clark
Grant McLean wrote: If I understand your question correctly, I think you need to use the RootName option. Hi Grant / list thanks for your reply. I actually need to agentABC to one less than the root. Therefore Im trying to get it as so.

Re: xml::simple, $hash ?

2005-07-01 Thread Brent Clark
Grant McLean wrote: Perhaps instead of ... $xml->XMLout(\%fullXmlHash, ... .. you might be looking for: $xml->XMLout( { "agentName" => \%fullXmlHash} } , ... Ahh brilliant this is how it currently is 12:51:59 ZAR tbrink so im one step closer to gett

Comamnd Line Arguments.

2005-07-01 Thread Govardhan M. V
Hi, I am facing the problem running the perl script it is not accepting the command line arguments. but the same works fine on Unix. on windows it is falling OS - Windows. Set up Made to the file. 1) Changed the File Property of script - Perprocess.pl - open with perl.exe

Re: Perl training material required.

2005-07-01 Thread Offer Kaye
On 7/1/05, Nilay Puri, Noida <[EMAIL PROTECTED]> wrote: > > Hi All, > > Can anyone provide me the site which have good teaching material for perl. > > I need to give training on perl basics and I don't have time to prepare the > material. > > Thanks in advance. > http://perldoc.perl.org/pe

regex problem

2005-07-01 Thread Moon, John
The following is not returning what I had expected... SUN1-BATCH>perl -e '$a=q{/var/run}; $home=q{/var/123};print "Yes - $a like $home\n" if $a =~ /^$home/;' SUN1-BATCH>perl -e '$a=q{/var/run}; $home=q{/var/ra};print "Yes - $a like $home\n" if $a =~ /^$home/;' SUN1-BATCH>perl -e '$a=q{/var/run}; $

Re: regex problem

2005-07-01 Thread Chris Devers
On Fri, 1 Jul 2005, Moon, John wrote: > The following is not returning what I had expected... > > $a= q{/var/run}; > $home = q{/var/ru}; > print "Yes - $a like $home\n" if $a =~ /^$home/; > > I would have "assumed" that /var/run would NOT be "like" /var/ru just > as /var/run is not "like"

Re: regex problem

2005-07-01 Thread Ing. Branislav Gerzo
Moon, John [MJ], on Friday, July 1, 2005 at 11:30 (-0400 ) contributed this to our collective wisdom: MJ> I would have "assumed" that /var/run would NOT be "like" /var/ru just as MJ> /var/run is not "like" /var/ra... is "/var/ru" at the beginning of "/var/run" ? yes. -- ...m8s, cu l8r, Brano

Re: Use of uninitialized value... --> quit!

2005-07-01 Thread Wiggins d'Anconia
Bryan R Harris wrote: [snip] > > > So if I understand right, all I need to do is put this at the top of my > script? > > use warnings FATAL => 'all'; > > Is that doing what I want? > > - B > You tell us, based on my understanding of it and what you want it should, but personally I have never

Help diagnosing error

2005-07-01 Thread chad smith
Hello, I'm receiving the error below: "Use of uninitialized value in concatenation (.) or string at C:\www\opma-cgi\statusview.pl line 343." when running the attached script. Any thoughts on the cause of this error? Also, attached is the output. Regards -cms statusview.pl Description: Bina

Re: regex problem

2005-07-01 Thread Jay Savage
On 7/1/05, Moon, John <[EMAIL PROTECTED]> wrote: > The following is not returning what I had expected... > > SUN1-BATCH>perl -e '$a=q{/var/run}; $home=q{/var/123};print "Yes - $a like > $home\n" if $a =~ /^$home/;' > SUN1-BATCH>perl -e '$a=q{/var/run}; $home=q{/var/ra};print "Yes - $a like > $home

Re: Help diagnosing error

2005-07-01 Thread mgoland
- Original Message - From: chad smith <[EMAIL PROTECTED]> Date: Friday, July 1, 2005 11:54 am Subject: Help diagnosing error > Hello, Hi, > > I'm receiving the error below: > > "Use of uninitialized value in concatenation (.) or string at > C:\www\opma-cgi\statusview.pl line 343." > >

Re: Help diagnosing error

2005-07-01 Thread chad smith
Mark, Thanks for you help. You're correct, those fields are basically empty. I'm pulling the values from a database and the database doesn't contain a value for those fields with the exception of the DATE fields. The DATE fields contain '-00-00' when no date is provided by a user and the

Re: Perl training material required.

2005-07-01 Thread Robert
Talk to the Stonehenge folks. : ) Robert "I am not affiliated" "Nilay Puri" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi All, Can anyone provide me the site which have good teaching material for perl. I need to give training on perl basics and I don't have time to prepare

Microsoft Access storing images?

2005-07-01 Thread Steve Gross
Is there a resource for using Perl to save and extract images from a Microsoft Access database? I've looked in CPAN but I don't see anything. __ Steve Gross Tel: 212-284-6558 Directo

Re: Microsoft Access storing images?

2005-07-01 Thread Chris Devers
On Fri, 1 Jul 2005, Steve Gross wrote: > Is there a resource for using Perl to save and extract images from a > Microsoft Access database? I've looked in CPAN but I don't see > anything. I'm not a Windows programmer and haven't used Perl with Access, so this won't be the answer you're looking