Filehandle problem

2010-04-29 Thread HACKER Nora
Hi list, Thanks for suggesting PerlCritic to me - I just love it :-) Following the instructions, I am now trying to change my filehandles from a bareword style to something more ... uhm, correct ;-) I tried my $vconfig = IO::File-new($vconfig) or LOGDIE($fnc - $vconfig konnte nicht gelesen

Re: Filehandle problem

2010-04-29 Thread Akhthar Parvez K
Hi, On Thursday 29 Apr 2010, HACKER Nora wrote: but I just receive errors: Use of uninitialized value in scalar chomp at /opt/data/magna/wartung/dbmove.pl line 231. Use of uninitialized value in pattern match (m//) at /opt/data/magna/wartung/dbmove.pl line 232. Could somebody

AW: Filehandle problem

2010-04-29 Thread HACKER Nora
Most probably you have used an undefined scalar in an expression. Would be good if you can mention the lines along with the line no. OMG, if only you could see me banging my head against the wall ... I am opening three filehandles shortly after each other - I already corrected the code for

Re: AW: Filehandle problem

2010-04-29 Thread Akhthar Parvez K
On Thursday 29 Apr 2010, HACKER Nora wrote: OMG, if only you could see me banging my head against the wall ... I am opening three filehandles shortly after each other - I already corrected the code for the first one (which is the source I posted in my previous mail) but not for the next one

Re: FILEHANDLE problem

2007-08-02 Thread Ken Foskey
On Wed, 2007-08-01 at 15:51 -0400, Johnson, Reginald (GTI) wrote: I don't see what I am doing wrong here. I am trying to print to the filehandle LINOUT but nothing is being printed to the file. Ultimately I want to monitor the input file and when it is written to I want to take the update and

FILEHANDLE problem

2007-08-01 Thread Johnson, Reginald \(GTI\)
I don't see what I am doing wrong here. I am trying to print to the filehandle LINOUT but nothing is being printed to the file. Ultimately I want to monitor the input file and when it is written to I want to take the update and put into another file for processing. #!/usr/bin/perl use strict;

Re: FILEHANDLE problem

2007-08-01 Thread Mr. Shawn H. Corey
Johnson, Reginald (GTI) wrote: I don't see what I am doing wrong here. I am trying to print to the filehandle LINOUT but nothing is being printed to the file. Ultimately I want to monitor the input file and when it is written to I want to take the update and put into another file for processing.

Re: FILEHANDLE problem

2007-08-01 Thread Mumia W.
On 08/01/2007 02:51 PM, Johnson, Reginald (GTI) wrote: I don't see what I am doing wrong here. I am trying to print to the filehandle LINOUT but nothing is being printed to the file. Ultimately I want to monitor the input file and when it is written to I want to take the update and put into

filehandle problem

2003-03-17 Thread rbraswell
How can I see what file handles are pointed at a given file. I am having a problem where I open, read, and close a certain file. Then another part of the script tries to open that same file, but can't. I suspect something is holding it open. Another file handle perhaps, but I have not been able to

RE: filehandle problem

2003-03-17 Thread NYIMI Jose (BMB)
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, March 17, 2003 5:04 PM To: [EMAIL PROTECTED] Subject: filehandle problem How can I see what file handles are pointed at a given file. I am having a problem where I open, read, and close

Re: filehandle problem

2003-03-17 Thread Brett W. McCoy
On Mon, 17 Mar 2003 [EMAIL PROTECTED] wrote: How can I see what file handles are pointed at a given file. I am having a problem where I open, read, and close a certain file. Then another part of the script tries to open that same file, but can't. I suspect something is holding it open.

Re: filehandle problem

2003-03-17 Thread Aim
Hi, I think if you posted some of your code members will be able to help you. Without any code it will not be to easy. regards. aim. [EMAIL PROTECTED] wrote: How can I see what file handles are pointed at a given file. I am having a

Filehandle problem

2002-01-08 Thread K.Srinivas
Hi, I have been trying to run a piece of perl code in NT that I usually run in UNIX. I am showing the part of code where I am facing the problem. open (CPP, $cmd |); while (CPP) { chomp(); #

Re: Filehandle problem

2002-01-08 Thread Jos I. Boumans
, we'll need a bit more information to help you out, but try the above things first... hth, jos - Original Message - From: K.Srinivas [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 08, 2002 9:50 AM Subject: Filehandle problem Hi, I have been trying to run a piece