Re: accessing remote registry

2009-02-09 Thread perl pra
Hi Jenda, I get the same error even if i remvoe the backslashes. Thanks, siva On 2/6/09, Jenda Krynicky wrote: > > From: perl pra > > Can anybody help in accessing the registry of remote windows machine and > get > > the keys in the folder *HKEY_LOCAL_MACHINE/SOFTWARE * > > ** > > I have tri

Re: package for reading filepro data files

2009-02-09 Thread Rob Dixon
David Shere wrote: > > I am writing a CGI script that needs to query a FilePro database. > FilePro stores its data in proprietary binary file formats. My company > already has code that, from Perl, will execute a FilePro program and > read that program's output from the disk. My task is to bypass

how to delay printing without over working perl

2009-02-09 Thread itshardtogetone
Hi, Looking at the script below, I wish to print out "line 1" first, which is after the while loop, then followed by "First loop", and then "Second loop", henceforth I have the script below. What I did was to hold on the printing of "First loop" and "Second loop" by pushing them into @printer wh

Re: question on 2 sub modules on the same scope

2009-02-09 Thread itshardtogetone
Original Message - From: "David Shere" To: "itshardtogetone" Cc: Sent: Tuesday, February 10, 2009 3:29 AM Subject: Re: question on 2 sub modules on the same scope What is an a_ctr, anyway? :) Thanks everyone for the help. ctr is a short form for counter, so $a_ctr is a counter.

Re: question on 2 sub modules on the same scope

2009-02-09 Thread David Shere
On Tue, 2009-02-10 at 02:55 +0800, itshardtogetone wrote: > Hi, > Looking at the script below, can someone explain why the final output is > "Final = 1" instead of "Final = 5". > I thought at the end of the while loop, $a_ctr is 5, this value is then read > by the sub module &data() and this valu

Re: question on 2 sub modules on the same scope

2009-02-09 Thread John W. Krahn
itshardtogetone wrote: Hi, Hello, Looking at the script below, can someone explain why the final output is "Final = 1" instead of "Final = 5". I thought at the end of the while loop, $a_ctr is 5, this value is then read by the sub module &data() and this value of 5 is then passed on to sub pu

question on 2 sub modules on the same scope

2009-02-09 Thread itshardtogetone
Hi, Looking at the script below, can someone explain why the final output is "Final = 1" instead of "Final = 5". I thought at the end of the while loop, $a_ctr is 5, this value is then read by the sub module &data() and this value of 5 is then passed on to sub publish before its being printed ou

Re: Slow connexion with Net::SSH::Perl

2009-02-09 Thread David Shere
On Tue, 2009-02-03 at 21:38 +0100, julien collas wrote: > I use rsa key to connect and it seems to be very slow, Is it slow to connect when you initiate, or slow throughout the use of the connection? We've found that the absence of a reverse DNS record can delay initial connection times by up to

package for reading filepro data files

2009-02-09 Thread David Shere
I am writing a CGI script that needs to query a FilePro database. FilePro stores its data in proprietary binary file formats. My company already has code that, from Perl, will execute a FilePro program and read that program's output from the disk. My task is to bypass that option and read directl

Re: How hard is it to learn this langauge?

2009-02-09 Thread David Shere
On Sat, 2009-02-07 at 15:05 -0800, Blazer wrote: > I just kept reading that Perl was a very easy > language to learn. Is this true or is it propaganda??? Learning Perl wasn't any more or less difficult than any other language I've learned. Are you a new programmer? It might be more difficult fo

Re: Converting a string to a filehandle

2009-02-09 Thread Paul Johnson
On Mon, Feb 09, 2009 at 12:41:07PM -, Taylor, Andrew (ASPIRE) wrote: > Hello > > I'm processing a file of test data that looks something like: > > FH1,data1,data2,data3,...etc > FH2,data1,data2,data3,...etc > FH1,data1,data2,data3,...etc > > Each line split into an array and processed. > >

RE: AW: Converting a string to a filehandle

2009-02-09 Thread FRASER, KAREN R.
I've signed up for digest and keep getting individual emails. Does anyone know what the trick is to get digest form? Thanks, -Original Message- From: Jenda Krynicky [mailto:je...@krynicky.cz] Sent: Monday, February 09, 2009 8:49 AM To: beginners@perl.org Subject: Re: AW: Converting a st

Re: AW: Converting a string to a filehandle

2009-02-09 Thread Jenda Krynicky
From: Thomas Bätzler > Taylor, Andrew (ASPIRE) wrote: > > I'm processing a file of test data that looks something like: > > > > FH1,data1,data2,data3,...etc > > FH2,data1,data2,data3,...etc > > FH1,data1,data2,data3,...etc > > > > Each line split into an array and processed. > > > > The first ele

AW: Converting a string to a filehandle

2009-02-09 Thread Thomas Bätzler
Taylor, Andrew (ASPIRE) wrote: > I'm processing a file of test data that looks something like: > > FH1,data1,data2,data3,...etc > FH2,data1,data2,data3,...etc > FH1,data1,data2,data3,...etc > > Each line split into an array and processed. > > The first element (FH1, FH2, etc) is the name of the

Converting a string to a filehandle

2009-02-09 Thread Taylor, Andrew (ASPIRE)
Hello I'm processing a file of test data that looks something like: FH1,data1,data2,data3,...etc FH2,data1,data2,data3,...etc FH1,data1,data2,data3,...etc Each line split into an array and processed. The first element (FH1, FH2, etc) is the name of the filehandle the output should be printed to

Re: How hard is it to learn this langauge?

2009-02-09 Thread John W. Krahn
Damien Learns Perl wrote: I have experience in C and I find that Perl would have been a much easier language to start with. You can write powerful code right away. I started to learn Perl last month and I am blogging about it at: http://damienlearnsperl.blogspot.com/ This is certainly not acade

RE: How hard is it to learn this langauge?

2009-02-09 Thread Taylor, Andrew (ASPIRE)
I came to Perl with no real programming experience (I'd looked at C and Java a bit, but never used them and messed around with simple BASIC at school). I was given the task of modifying a load of Perl code, so I went out and bought the "Learning Perl" book (By Randal L. Schwartz & Tom Christians